Skip to content

Commit

Permalink
fix: load overrides and adoptions before creating first probes list
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-yarmosh committed Dec 18, 2024
1 parent c835333 commit 94f9847
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@ export const createServer = async (): Promise<Server> => {
await populateIpWhiteList();
// Populate cities info
await populateCitiesList();
// Populate Dashboard override data
await probeOverride.fetchDashboardData();

await initWsServer();

await probeOverride.fetchDashboardData();
probeOverride.scheduleSync();

await auth.syncTokens();
Expand Down

0 comments on commit 94f9847

Please sign in to comment.