Switch context during newsfeed queries to avoid blocking the client

This commit is contained in:
shortcutme 2017-10-03 14:37:50 +02:00
parent bfb7392198
commit 614a18913e
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ class UiWebsocketPlugin(object):
row["site"] = address
row["feed_name"] = name
rows.append(row)
time.sleep(0.0001)
return self.response(to, rows)
def actionFeedSearch(self, to, search):