Skip to content

Commit

Permalink
Merge pull request #4541 from ichorid/f_vsids_fixes2
Browse files Browse the repository at this point in the history
Fix wrong votes scaling on Tribler startup
  • Loading branch information
xoriole authored Jun 7, 2019
2 parents a49319d + e6238a6 commit b8ec29d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tribler/Core/Modules/MetadataStore/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def sqlite_disable_sync(_, connection):
default_vsids = self.Vsids.get(rowid=0)
if not default_vsids:
default_vsids = self.Vsids.create_default_vsids()
self.ChannelMetadata.votes_scaling = default_vsids.bump_amount
self.ChannelMetadata.votes_scaling = default_vsids.max_val
# Decay only happens while Tribler is running
default_vsids.last_bump = datetime.utcnow()

Expand Down

0 comments on commit b8ec29d

Please sign in to comment.