You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Clean up
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user