Switch context during newsfeed queries to avoid blocking the client
This commit is contained in:
parent
bfb7392198
commit
614a18913e
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue