don't store local node info in db
This commit is contained in:
parent
fe9b0618ed
commit
5a8e08b2c2
5 changed files with 21 additions and 28 deletions
|
|
@ -486,9 +486,6 @@ class Nodes(Thread):
|
|||
self._q = Queue()
|
||||
with db.session():
|
||||
for u in user.models.User.query.filter_by(peered=True):
|
||||
if 'local' in u.info:
|
||||
del u.info['local']
|
||||
u.save()
|
||||
self.queue('add', u.id)
|
||||
get_peer(u.id)
|
||||
for u in user.models.User.query.filter_by(queued=True):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue