Merge pull request #146 from ente-io/logout_timeout

This commit is contained in:
Vishnu Mohandas 2021-11-24 17:11:36 +05:30 committed by GitHub
commit f3f8f20b2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -123,7 +123,7 @@ class Configuration {
if (SyncService.instance.isSyncInProgress()) {
SyncService.instance.stopSync();
try {
await SyncService.instance.existingSync();
await SyncService.instance.existingSync().timeout(Duration(seconds: 5));
} catch (e) {
// ignore
}

View file

@ -11,7 +11,7 @@ description: ente photos application
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 0.4.0+260
version: 0.4.1+261
environment:
sdk: ">=2.10.0 <3.0.0"