cast timestamp to integer before querying
This commit is contained in:
parent
ffc7fc0793
commit
21f2b2dcd7
1 changed files with 1 additions and 1 deletions
|
@ -274,7 +274,7 @@ class SQLiteStorage(SQLiteMixin):
|
||||||
|
|
||||||
def get_blobs_to_announce(self):
|
def get_blobs_to_announce(self):
|
||||||
def get_and_update(transaction):
|
def get_and_update(transaction):
|
||||||
timestamp = self.loop.time()
|
timestamp = int(self.loop.time())
|
||||||
if self.conf.announce_head_and_sd_only:
|
if self.conf.announce_head_and_sd_only:
|
||||||
r = transaction.execute(
|
r = transaction.execute(
|
||||||
"select blob_hash from blob "
|
"select blob_hash from blob "
|
||||||
|
|
Loading…
Reference in a new issue