Cédric Krier
a0bfbfa255
Follow isort formatting
...
issue10928
2021-12-11 17:58:45 +01:00
Cédric Krier
6d1bc282b7
Remove extra '/' in request path in logging messages
2021-01-10 23:41:24 +01:00
Cédric Krier
18fc13fb15
Use autocommit connection to LISTEN
...
This is needed to receive notification in a timely manner.
issue9966
review333541002
2021-01-03 13:00:26 +01:00
Cédric Krier
7822844f52
Store listener threads per process
...
This ensure that if the process is forked, the child process will start new
listeners for the Cache and the Bus.
issue9832
review329601002
2020-11-27 22:19:56 +01:00
Cédric Krier
d7ed5f91f5
Fix flake8 errors and warnings
...
We add the flake8 configuration used so we ensure everyone uses the same.
We remove the usage of __all__ for non public API.
When possible, we rationalize the class name according to its __name__ and module.
issue9082
review297061002
2020-03-01 12:33:54 +01:00
Nicolas Évrard
8fb13634ea
Use direct access to backend classes
...
issue8836
review258421002
2019-12-06 17:33:47 +01:00
David Harper
06ff476bbc
Correct name of bus class config option
...
issue8461
review265631003
2019-06-28 22:11:59 +02:00
Cédric Krier
774d6eeb5a
Do not keeping lock when relaunch listener and join listener in test
...
We can not recursively call Bus._listen when holding the lock because it
blocks all subscription until the listener stops.
The tearDown of the test should ensure the listener is really stopped before
ending.
issue8039
review52611002
2019-01-30 10:04:11 +01:00
Cédric Krier
b906d84d87
Load payload using the JSONDecoder
...
The payload is dumped using the JSONEncoder so it should be loaded using the
proper decoder.
issue8024
review56551002
2019-01-30 10:02:36 +01:00
Cédric Krier
cef6ffead0
Allow to redirect bus request
...
issue7943
review48691003
2019-01-18 11:01:22 +01:00
Cédric Krier
9ebba6207b
Fix argument order to Bus.publish in notify
...
issue7807
review51571002
2018-10-26 23:24:09 +02:00
Cédric Krier
f41cb86e69
Allow to disable Bus
...
issue7737
review60381002
2018-09-26 23:03:15 +02:00
Nicolas Évrard
eb04b82822
Add bus management
...
issue7537
review66341002
2018-08-30 11:15:01 +02:00