Skip to content

Commit

Permalink
add since to the analytics refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
moodysalem committed May 2, 2024
1 parent f6a26d7 commit 0b46979
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ const refreshAnalyticalTables = throttle(
});
await dao.commitTransaction();
client.release();
timer.done({ message: "Refreshed analytical tables" });
timer.done({
message: "Refreshed analytical tables",
since: since.toISOString(),
});
},
{
delay: parseInt(process.env.REFRESH_RATE_ANALYTICAL_VIEWS),
Expand Down

0 comments on commit 0b46979

Please sign in to comment.