a2ab75b18d
Initial version of a rest server
...
This is more of a proof of concept than the actual
feature. WiP
2020-10-20 23:18:10 +02:00
36b0c6f6f0
Add retry capability on connection errors
...
This fixes bug #2
2020-09-15 00:45:39 +02:00
a32044a4b5
Add optional lzma support for stored json responses
...
When enabled entries in the DB are stored as base64
encoded xz data. To uncompress save to a file
my_json.base64 and run:
cat my_json.base64 | base64 --decode | unxz --decompress - > my_json.txt
2020-09-05 14:00:22 +01:00
2e25008de3
Timeouts should be treated as integer here
...
It's not a double in the settings. It gets casted into
a double later, but it's not like you can set 3.528 in
the settings.
2020-09-05 12:25:12 +01:00
e24ebcf8e8
Add timeout options to config file
...
This allows users to specify the minimum wait for each
request. The (currently wrong) estimate of
retry_after / rate_limit is calculated, and the max
between that and the setting in the config file is
used.
2020-09-05 01:36:26 +01:00
9d4d52bed0
Add store_raw_json option to config
2020-09-05 00:41:01 +01:00
f8fde74b84
Rename section "rules" to "options"
2020-09-04 15:06:17 +01:00
be1a19f7c7
Move backend name to config file
...
Still, only one backend is available at this point.
2020-08-22 02:30:00 +01:00
d1716a0c91
Add api_key to the config file
2020-08-16 14:26:43 +01:00
a3153bcc66
Move TimerBase's g_extra_wait out to the settings file
2020-08-16 13:31:08 +01:00
93cfdd5586
Rename main section in settings to system
2020-08-16 12:58:39 +01:00
3866462ff5
Add worker_threads setting
2020-08-11 01:33:11 +01:00
d0a41d916a
Return some default db name if not present in the config file
2020-08-11 01:04:53 +01:00
35118dbe4e
Get db path from settings file instead of using a hardcoded value
2020-08-10 13:21:04 +01:00