Skip to content

Commit

Permalink
[PINAX-337] bumped to v0.0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois Blanchette committed Nov 22, 2023
1 parent 6a359d7 commit 5c37d08
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "substreams-sink-victoria-metrics",
"version": "0.0.13",
"version": "0.0.14",
"description": "Substreams VictoriaMetrics sink module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 0 additions & 2 deletions src/victoria_metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ export function appendEpoch(metrics: string, epoch: number) {
}

export async function handleImport(url: string, scrapeInterval: number, clock: any) {
logger.info("handleImport")

if (!clock.timestamp) return; // no timestamp (yet
const epoch = clock.timestamp.toDate().valueOf();
if (epoch / 1000 % scrapeInterval != 0) return; // only handle epoch intervals
Expand Down

0 comments on commit 5c37d08

Please sign in to comment.