Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
eDrive
Commits
0f4b60c3
Commit
0f4b60c3
authored
May 28, 2019
by
Vincent Bourgmayer
🎼
Browse files
N increase sync delay
parent
fc319a4a
Pipeline
#11834
passed with stage
in 2 minutes and 9 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
app/src/main/java/foundation/e/drive/utils/JobUtils.java
View file @
0f4b60c3
...
...
@@ -35,7 +35,7 @@ public abstract class JobUtils {
ComponentName
jobService
=
new
ComponentName
(
context
,
ScannerJob
.
class
);
JobInfo
job
=
new
JobInfo
.
Builder
(
ScannerJobId
,
jobService
)
.
setPeriodic
(
1
2
0000
,
30000
)
//
2
minutes and 30 seconds
.
setPeriodic
(
1
86
0000
,
30000
)
//
31
minutes and 30 seconds
.
setPersisted
(
true
)
.
setRequiredNetworkType
(
JobInfo
.
NETWORK_TYPE_ANY
)
.
build
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment