Commit graph

81 commits

Author SHA1 Message Date
Laura Klünder
bf1b6c395d fix editor/mapdaza deadlock during processupdates, halleluja! [hopefully] 2024-12-16 09:08:43 +00:00
Laura Klünder
1f1a0711c6 use correct cache key key … or else processupdates won't work 2024-09-17 18:17:05 +02:00
Laura Klünder
7dc718475e make sure directory creation in processupdates doesn't fail 2024-09-17 16:35:25 +02:00
Laura Klünder
b5f736a96c "you're polluting our git history" 2024-09-17 16:05:01 +02:00
Laura Klünder
87d471a355 processupdates work now pls 2024-09-17 16:02:58 +02:00
Laura Klünder
6a83146f5c fix processupdates… again 2024-09-17 16:01:47 +02:00
Laura Klünder
c546f007c1 laast processed geometry cache key… needed for… stuff 2024-09-17 14:00:44 +02:00
Laura Klünder
e642507210 always run the new mkdir command in process updates 2024-09-17 03:05:59 +02:00
Laura Klünder
71131cc5c5 store all processupdates result files in mapupdate-based directory 2024-09-17 01:43:38 +02:00
Jenny Danzmayr
42da0ffa27 fixed timeout of process map updates lock 2024-09-08 19:48:53 +02:00
Laura Klünder
2696794421 small fix for when change geometries is missing 2024-08-18 15:07:10 +02:00
Laura Klünder
d4140e09ed show affected areas in mapupdate control panel 2024-08-18 15:03:38 +02:00
Laura Klünder
ef83e73a36 make linter happy 2023-12-11 19:02:19 +01:00
Jenny Danzmayr
0083d1103b fixed process_updates and Locator.rebuild 2023-12-07 06:43:50 +01:00
Laura Klünder
34af60782c merge RangeLocator into Locator and modernize code 2023-12-07 02:21:46 +01:00
Jenny Danzmayr
ae65a68830 fixed handling of locks via redis during mapupdates 2023-12-07 01:27:08 +01:00
Laura Klünder
83dfdec90f RangeLocator needs current router instead of old one (which might fail) 2023-12-07 00:18:20 +01:00
Laura Klünder
2ad9f4a099 use pathlib in more places, thereby fixing some bugs 2023-11-11 12:06:46 +01:00
Laura Klünder
0b6362c8ab start implementing RangeLocator 2023-11-10 20:11:50 +01:00
Laura Klünder
03437a3a40 update dependencies and upgrade code for django where needed/possible 2022-04-03 16:34:11 +02:00
Laura Klünder
d5477c8b75 show currently running process updates 2018-12-21 17:43:30 +01:00
Laura Klünder
79fbb915de fix lock if no mapupdates exist 2018-12-18 20:36:45 +01:00
Laura Klünder
d842539c1b mapupdate default ordering 2018-12-17 18:52:47 +01:00
Laura Klünder
e2698e7109 remove race condition where c3nav tried to load a wrong router 2018-12-17 18:07:40 +01:00
Laura Klünder
b23a2d4fc9 update german translation 2018-12-16 02:45:03 +01:00
Laura Klünder
e170e128bc manage map updates in control panel 2018-12-16 02:23:05 +01:00
Jenny Danzmayr
328fb1b215 lock mapudates before setting cache if possible 2018-12-08 05:54:30 +01:00
Jenny Danzmayr
6d166325e6 fixed MapUpdte logic to work without an existing map update 2018-12-08 05:47:19 +01:00
Jenny Danzmayr
aa180d0946 added cleareventdata management command 2018-12-08 03:37:05 +01:00
Laura Klünder
03018a2f46 avoid pickle load errors while processupdates is running 2017-12-25 17:42:30 +01:00
Laura Klünder
06203e6cca introducing the Locator 2017-12-25 16:41:59 +01:00
Laura Klünder
cdfef25034 implement SiteUpdates: make the user reload on critical code changes 2017-12-24 01:55:30 +01:00
Laura Klünder
895cf20d63 change process_updates lock key 2017-12-23 16:04:29 +01:00
Laura Klünder
25a0a57be9 fix check if lock was acquired 2017-12-23 16:02:18 +01:00
Laura Klünder
d554a98985 timeout → blocking_timeout 2017-12-23 15:46:56 +01:00
Laura Klünder
c1c5dde682 use redis lock in process_updates if possible 2017-12-23 15:19:33 +01:00
Laura Klünder
ff5826d8c2 skip stuff if processupdates is no geometries were affected 2017-12-23 02:38:18 +01:00
Laura Klünder
a4beed9f93 don't lock for last_update… ever 2017-12-22 13:08:52 +01:00
Laura Klünder
040669755f fix typo 2017-12-20 20:16:28 +01:00
Laura Klünder
6cb4b05f82 try to fix race condition 2017-12-20 20:14:00 +01:00
Laura Klünder
da115171d1 fix lock problems… hopefully 2017-12-20 13:13:49 +01:00
Laura Klünder
07a1a79cc4 fix typo 2017-12-20 11:49:31 +01:00
Laura Klünder
519eeebf2f fix mapupdate caching 2017-12-19 22:27:17 +01:00
Laura Klünder
9564d92ec3 set mapdata:last_update only if we are saving a new map update 2017-12-14 00:23:58 +01:00
Laura Klünder
ab391e9a4c avoid cache errors in MapUpdate 2017-12-14 00:20:38 +01:00
Laura Klünder
46c581627f fix fatal error when using current_cache_key as an etag func 2017-12-04 17:41:17 +01:00
Laura Klünder
e5f53aa399 rebuild router when processing updates 2017-11-27 16:53:56 +01:00
Laura Klünder
2185c1ac6a enable using the tileserver with minimal requirements 2017-11-21 02:12:00 +01:00
Laura Klünder
87d1e3e7f5 don't import anything in render.__init__ 2017-11-20 02:53:49 +01:00
Laura Klünder
94ae86d690 refactor even more data→geometry and levelrender 2017-11-20 02:38:35 +01:00