Commit Graph

5 Commits

Author SHA1 Message Date
Jason Rhinelander cd214df1b2 Switch to using new python3-oxenmq 2021-10-30 00:11:09 -03:00
Jason Rhinelander 007baea846 Loki -> Oxen 2021-01-07 18:04:00 -04:00
Jason Rhinelander c69390ef04 Increase max message size
Huge mempools on test were hitting this limit.
2021-01-04 13:07:39 -04:00
Jason Rhinelander 752f19784b Add cache subkey; allow non-caching requests
The cache key allows having multiple caches that use the same endpoint
(for instance, rpc.get_service_nodes for all-SNs versus single SN).

Non-caching requests still use a cached value if present, but don't
store it in the cache if they have to make an actual request.
2020-08-31 13:05:17 -03:00
Jason Rhinelander fa9a17092c Move lmq connection & FutureJSON into lmq.py
Also delays creating the lmq instance until get_connection() is called,
which seems pretty much required if using multiple threads/processes as
we need each process to have its own connection.
2020-08-19 18:54:53 -03:00