Commit graph

22 commits

Author SHA1 Message Date
b86b257278
Switch simple server to use threads for requests 2018-12-08 18:51:44 +00:00
964398722a
Enable use as a context manager 2018-12-08 15:32:29 +00:00
c20a567709
Only define new line once 2018-12-08 14:36:37 +00:00
6920b43567
Scale timeout with number of connections 2018-12-08 14:28:26 +00:00
7fd83b05b9
Refactor payload return to list comprehension 2018-12-08 14:23:34 +00:00
ead62d5671
Refactor simple server client to class 2018-12-08 14:23:16 +00:00
abd20a6b4b
Use background thread to accept new connections 2018-12-08 13:31:22 +00:00
886882a079
Run the linter 2018-12-08 13:11:01 +00:00
1352e49f11
Remove socket after server close 2018-12-08 13:09:38 +00:00
d88eecc0da
Remove unnecessary shutdown function 2018-12-08 13:07:51 +00:00
29b2377a58
Performance tune for pubsub socket 2018-12-08 13:07:26 +00:00
2e354a3814
Remove publisher socket path after close 2018-12-08 13:06:08 +00:00
cd8cb8eac9
Shorten default wait time so it fails faster 2018-12-08 13:03:35 +00:00
e605438d33
Kill connections when closing publisher 2018-12-08 12:37:39 +00:00
874f9d240b
Test multiple subscribers 2018-12-08 12:30:47 +00:00
c7af71456e
Rename constant so it makes more sense 2018-12-08 01:15:07 +00:00
07affb4c36
Force payload to be dict, increase stability and speed 2018-12-08 01:12:34 +00:00
1b69e09276
Restructure app so isort actually runs 2018-12-07 23:34:59 +00:00
aba697bfb2
Add pub sub server 2018-12-07 23:18:29 +00:00
5f4aac4822
Add flake8 and isort 2018-12-07 20:44:31 +00:00
498a871c70
Add basic client-server implementation 2018-12-07 20:35:34 +00:00
25ba13012d
Setup project 2018-12-07 13:54:46 +00:00