Skip to content

[stable12] Do no run SyncJob in cron - #7674

Merged
MorrisJobke merged 1 commit into
stable12from
12_7644
Jan 9, 2018
Merged

[stable12] Do no run SyncJob in cron#7674
MorrisJobke merged 1 commit into
stable12from
12_7644

Conversation

@rullzer

Copy link
Copy Markdown
Member

Backport of #7644

Fixes#7184
The SyncJob can be very resource intensive. Since it requests all users
on the system to create the system addressbook. In order to do this it
creates a vcard for every user and updates the addressbook.
There is no need for this job since the proper signals are emitted and
handled in the carddav backend to update the addressbook live.
Worst comes to worst there is always the occ command to bring the
address book in sync again.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
@rullzerrullzer added the 3. to review Waiting for reviews label Jan 3, 2018
@rullzerrullzer added this to the Nextcloud 12.0.5 milestone Jan 3, 2018
@codecov

codecovBot commented Jan 3, 2018

Copy link
Copy Markdown

Codecov Report

Merging #7674 into stable12 will increase coverage by <.01%.
The diff coverage is n/a.

@@ Coverage Diff @@## stable12 #7674 +/- ##
==============================================
+ Coverage 53.93% 53.93% +<.01% + Complexity 22712 22710 -2 
==============================================
Files 1385 1384 -1 Lines 86996 86990 -6 Branches 1330 1330 ==============================================
- Hits 46919 46918 -1 + Misses 40077 40072 -5
Impacted FilesCoverage ΔComplexity Δ
lib/private/Files/Cache/Propagator.php96.2% <0%> (+1.26%)16% <0%> (ø)⬇️

@MorrisJobkeMorrisJobke mentioned this pull request Jan 8, 2018
13 tasks
@MorrisJobke
MorrisJobke merged commit 2f9d595 into stable12Jan 9, 2018
@MorrisJobke
MorrisJobke deleted the 12_7644 branch January 9, 2018 10:14
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@rullzer@MorrisJobke@blizzz