Skip to content

Commit dc65ebb

Browse files
committed
Reload the static app before the frontend app
Frontend (via Slimmer) fetches the banner from Static. If we reload Frontend first, it seems more likely to then cache the old banner from Static than the new one. By reloading static first, it seems more likely to do the thing we want sooner. This doesn't take into account that it takes time for old processes to stop serving requests. Perhaps we should add in a sleep between restarts?
1 parent 8af33a1 commit dc65ebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

campaigns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
env['eagerly_disconnect'] = True
1313

1414

15-
APPLICATIONS = ['frontend', 'static']
15+
APPLICATIONS = ['static', 'frontend']
1616
CAMPAIGN_CLASSES = ['red', 'black', 'green']
1717

1818

0 commit comments

Comments
 (0)