Commit Graph
11 Commits
Author SHA1 Message Date
Ilan Steemers ef4c7876ae Linting and hints 2020-06-12 12:33:04 +02:00
Bastien Vallet 3569d2ea8c [cleanup] Fix some linting issues 2020-06-10 12:00:55 +02:00
Martijn Jacobs 85a9f33ac0 Check for the right database when querying for get_autocommit 2020-05-01 17:29:27 +02:00
Ilan 7c31c2408c Replaces format with f-strings 2020-02-18 18:47:05 +01:00
Yann Pomarede bbd2e82fd4 fix race condition in orm broker 2016-12-05 18:40:04 +01:00
Ilan Steemers af3b1da08f Makes DB polling time configurable via poll setting 2016-01-26 22:29:00 +01:00
kdmukai e4a87e167b Fix for issue referenced in
https://github.com/Koed00/django-q/issues/124
2015-12-09 11:43:45 -06:00
Ilan Steemers 826178c463 Adds a MongoDB broker
* adds mongo broker tests
* adds mongo brokers docs

* broker info is now cached when it needs to connect to a server, to reduce traffic.
2015-09-25 20:03:39 +02:00
Ilan Steemers 1d12107524 Changed locking mechanism
* all new tasks start as timeouts. This makes the queries a lot simpler.

* In BULK mode, the bulk update for the lock was causing actual database locks.  The lock updates are now iterated.
2015-09-17 18:49:03 +02:00
Ilan Steemers a060b3508a Moves bulk iteration to pusher 2015-09-15 14:45:06 +02:00
Ilan Steemers 2bffcf554b Django ORM broker 2015-09-14 13:24:43 +02:00