mirror of
https://github.com/fergalmoran/picard.git
synced 2026-05-08 20:16:09 +00:00
Avoid wait until timer gets to zero ...
... to avoid delay if we are adding a request for a new host.
This commit is contained in:
@@ -319,7 +319,7 @@ class XmlWebService(QtCore.QObject):
|
||||
queues[key].append(func)
|
||||
self.num_pending_web_requests += 1
|
||||
self.tagger.tagger_stats_changed.emit()
|
||||
if not self._timer.isActive():
|
||||
if len(queues[key]) == 1:
|
||||
self._timer.start(0)
|
||||
return (key, func, priority)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user