Skip to content

Commit 55de19a

Browse files
authored
Merge pull request #528 from almarklein/timeout
Shorter timeout after editing record
2 parents 4f8cbe9 + b592fd5 commit 55de19a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

tasks.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
""" Invoke tasks for timetagger
2-
"""
1+
"""Invoke tasks for timetagger"""
32

43
import os
54
import sys

timetagger/app/stores.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ def _put(self, kind, *items):
752752
for i in range(len(items)):
753753
item = items[i]
754754
self._to_push[kind][item.key] = item
755-
self.sync_soon(3)
755+
self.sync_soon(1.5)
756756
self._set_state("pending")
757757

758758
def sync_soon(self, timeout=10):

0 commit comments

Comments
 (0)