1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00
This commit is contained in:
Laurent Cozic
2018-02-21 19:20:33 +00:00
parent b9db747b5c
commit e1fd9c6922
4 changed files with 7 additions and 14 deletions

View File

@@ -58,10 +58,10 @@ reg.scheduleSync = async (delay = null) => {
reg.logger().info('Scheduling sync operation...');
// if (Setting.value('env') === 'dev') {
// reg.logger().info('Scheduling sync operation DISABLED!!!');
// return;
// }
if (Setting.value('env') === 'dev') {
reg.logger().info('Scheduling sync operation DISABLED!!!');
return;
}
const timeoutCallback = async () => {
reg.scheduleSyncId_ = null;