aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-10-18 12:04:17 +1100
committerTerry Truong <terry06890@gmail.com>2022-10-18 12:04:17 +1100
commit610995001f7f58110e4ff73b68df005a7280a79e (patch)
tree66c91c6cd78837da153d49203690a7aa50d300c7 /backend
parent15035fe65e7dd54db83337da3d2b055d8bb668e9 (diff)
Use shallowRef for event tree
- Fixes 'saved is null' errors - De-lint rbtree.ts - Add rbtree_shallow_copy(), for triggering changes upon modifying the eventTree (using triggerRef doesn't work)
Diffstat (limited to 'backend')
-rwxr-xr-xbackend/histplorer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/histplorer.py b/backend/histplorer.py
index e51a9ff..5282592 100755
--- a/backend/histplorer.py
+++ b/backend/histplorer.py
@@ -27,7 +27,7 @@ from hist_data.cal import gregorianToJdn, jdnToGregorian, jdnToJulian
DB_FILE = 'hist_data/data.db'
MAX_REQ_EVENTS = 100
-DEFAULT_REQ_EVENTS = 10
+DEFAULT_REQ_EVENTS = 20
MAX_REQ_EXCLS = 100
MAX_REQ_SUGGS = 50
DEFAULT_REQ_SUGGS = 5