Commit 3897d15
committed
[feature] Invalidate VPN cache when organization config variables change
Implemented automatic VPN cache invalidation to ensure VPNs always use
the latest configuration when organization variables are updated.
- Added signal handler to detect OrganizationConfigSettings context changes
- Added Celery task to invalidate VPN cache for affected organization
- Added infrastructure for automatic cache invalidation
This prevents VPNs from using stale configuration data and resolves
connectivity issues caused by outdated cache.
Fixes #10981 parent 7fac9a1 commit 3897d15
File tree
2 files changed
+6
-186
lines changed- openwisp_controller/config
- tests
2 files changed
+6
-186
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
| 273 | + | |
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
| |||
Lines changed: 0 additions & 180 deletions
This file was deleted.
0 commit comments