sync-engine icon indicating copy to clipboard operation
sync-engine copied to clipboard

Unable to stop syncing an account in connerror state

Open thomasst opened this issue 10 years ago • 2 comments

If an account is in connerror state, there doesn't seem to be a way to prevent inbox sync from reconnecting to the account. account.stop_sync() doesn't do anything, and even calling account.kill_sync() or setting sync_state to stopped manually resets the state to connerror after a while. It seems like there should be an additional field that indicates the desired account state.

thomasst avatar Mar 05 '15 01:03 thomasst

Looks part of this was addressed in https://github.com/inboxapp/inbox/commit/6b029b42 by introducing a new flag. However, if the account is in connerror state and I set sync_should_run to 0 it still is being retried.

thomasst avatar Mar 06 '15 00:03 thomasst

@thomasst is this still happening?

grinich avatar Feb 07 '16 04:02 grinich