Commit graph

322 commits

Author SHA1 Message Date
EntireTwix
e717a0ad2c 🐛 JSON input should not be static thread_local 2021-07-25 11:03:03 -07:00
EntireTwix
7ce9a71118 small tweaksg 2021-07-24 17:42:41 -07:00
EntireTwix
0f50e00b6c 🐛 fixed for CONSERVATIVE_DISK_SAVE false possibility 2021-07-24 17:29:25 -07:00
EntireTwix
37d885d81d 🚚🔥 removed save_flag as bool possibility & moved static declarations from bank_api.cpp 2021-07-24 17:26:15 -07:00
EntireTwix
0f28a0cc19 🚚🐛 moved static declarations & fixed RESPONSE_PARSE 2021-07-24 17:25:20 -07:00
EntireTwix
0cae801ba3 🐎🔥 made BankAPI static 2021-07-23 22:43:47 -07:00
EntireTwix
4086a1d324 🐎🔥 made Bank static 2021-07-23 22:38:51 -07:00
EntireTwix
dbaa6c6beb 🐎 optimized PruneUsers() for if logs are disabled 2021-07-23 15:36:24 -07:00
EntireTwix
2b7330f48a 🐎 balance can be accumulated rather then each account adding to return_on_del individually 2021-07-23 15:30:44 -07:00
EntireTwix
86ab683704 🐎 bal must be non-zero to impact return account 2021-07-23 15:24:18 -07:00
William Katz
7a0a5d4036
🐛 prune users should return on del if enabled 2021-07-23 15:12:12 -07:00
William Katz
613123ba64
🎨🐎 simplification of log of last commit 2021-07-21 23:08:32 -07:00
William Katz
67183d88eb
🐛 when logs were empty .back() would seg fault 2021-07-21 23:00:24 -07:00
EntireTwix
d544a10bf1 🐛 static thread_local document breaks parsing overtime 2021-07-21 12:31:02 -07:00
EntireTwix
cb88bc8495 🐛 fixed lock order 2021-07-20 13:55:22 -07:00
EntireTwix
5feb20754a 🐛 fixed seg fault bug (I think) 2021-07-20 00:28:06 -07:00
EntireTwix
a5da4c9a04 🎨 simplified with macro 2021-07-20 00:14:21 -07:00
EntireTwix
e610615e5f 🐛 erasing users should set save flag 2021-07-20 00:09:16 -07:00
EntireTwix
b66f2dc562 🐛 patched for MAX_LOG_SIZE > 0 usecase 2021-07-19 23:36:19 -07:00
EntireTwix
dc9b2e70c2 🔥 removed legacy code 2021-07-19 23:35:04 -07:00
EntireTwix
3bb7640cd6 🐛 patched for MAX_LOG_SIZE == 1 usecase 2021-07-19 23:33:03 -07:00
EntireTwix
1df473f49a 🐛 fixed last commit 2021-07-19 22:35:51 -07:00
EntireTwix
9212edb9a3 updated ApiProperties 2021-07-19 22:35:33 -07:00
EntireTwix
72864e6c18 PruneUsers() endpoint 2021-07-19 22:21:18 -07:00
EntireTwix
c99e542111 🎨 stylistic 2021-07-19 22:18:10 -07:00
EntireTwix
14b1bff364 🚚 renamed save_lock & made PruneUsers() 2021-07-19 22:08:46 -07:00
EntireTwix
34099acd02 🎨 stylistic change to list init for pairs 2021-07-19 22:08:09 -07:00
William Katz
feb60c13a1
Merge branch 'main' into Refractor 2021-07-19 17:39:26 -07:00
EntireTwix
8c660595c9 made Contains respond 204/404 instead of bool 2021-07-17 20:46:14 -07:00
EntireTwix
347c9490fd Help() should respond with 301 2021-07-15 18:30:55 -07:00
EntireTwix
74b45a1775 🚚 renmaed DelUser to DelSelf 2021-07-15 18:22:41 -07:00
EntireTwix
83d2ad4262 💡 fixed comments 2021-07-15 17:24:45 -07:00
EntireTwix
a4670cb5f6 🐎🔥 removed intermediate vector 2021-07-15 17:19:18 -07:00
EntireTwix
162b421c8b 🐛 admin changepass should be able to respond with 404 2021-07-15 15:39:16 -07:00
EntireTwix
89f268889c 🔥 remove legacy clear() 2021-07-15 14:49:17 -07:00
EntireTwix
66fa73ed24 🐛 fixed lambda 2021-07-15 13:05:36 -07:00
William Katz
2d62f51006
🐛🔥🔒 possible safety concern if interior while auto saving
May corrupt as static, one thread could clear as the other is copying for example
2021-07-15 01:47:27 -07:00
EntireTwix
e0b38be7e6 🐎:fire thread_local is not required as its only ever called by one thread 2021-07-15 01:25:36 -07:00
EntireTwix
0f128e04a0 reverted last commit oops 2021-07-15 01:15:51 -07:00
EntireTwix
3d8dc99874 🐎🔥 writer was faster without thread_local 2021-07-15 01:13:09 -07:00
EntireTwix
9c520d5e05 🐎 static thread_local when faster 2021-07-15 01:09:38 -07:00
EntireTwix
21abb82c76 cleaner solution to initial save file generation 2021-07-15 01:02:34 -07:00
EntireTwix
bf8ecccbb8 🔥 static not needed 2021-07-15 00:32:45 -07:00
EntireTwix
8fb7687d42 updated error message 2021-07-15 00:31:27 -07:00
EntireTwix
9223c520b1 clean solution found 2021-07-15 00:29:29 -07:00
EntireTwix
2599897788 🐛 fixed initial setup problem 2021-07-14 23:51:22 -07:00
EntireTwix
cbcfc1118c improved error handling 2021-07-14 23:42:23 -07:00
EntireTwix
ab1e154ab8 updated Save() and Load() paths 2021-07-14 23:02:34 -07:00
EntireTwix
727e4ab4b8 FBE 2021-07-14 22:59:18 -07:00
EntireTwix
78f7f34f63 🔥 removed MAX_LOG_SIZE == 1 specific case 2021-07-14 22:59:04 -07:00