use time_getter on storage
This commit is contained in:
parent
63d1ec3c28
commit
c6b910a5f3
1 changed files with 1 additions and 1 deletions
|
@ -684,7 +684,7 @@ class SQLiteStorage(SQLiteMixin):
|
|||
if success:
|
||||
return self.db.execute(
|
||||
"insert or replace into reflected_stream values (?, ?, ?)",
|
||||
(sd_hash, reflector_address, time.time())
|
||||
(sd_hash, reflector_address, self.time_getter())
|
||||
)
|
||||
return self.db.execute(
|
||||
"delete from reflected_stream where sd_hash=? and reflector_address=?",
|
||||
|
|
Loading…
Reference in a new issue