Skip to content

Commit

Permalink
Merge branch 'master' of github.com:dipdup-net/metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
aopoltorzhicky committed Feb 1, 2022
2 parents 5241118 + 8677f8e commit bf30edb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ Supported features:
Fully compatible with DipDup YAML configuration file format.
Metadata indexer reuses `datasources`, `contracts`, `database`, `hasura` sections, and reads its own settings from `metadata` top-level section.

Read more [in the docs](https://docs.dipdup.net/config-file-reference/plugins/metadata).
Read more [in the docs](https://docs.dipdup.net/plugins/metadata).
4 changes: 2 additions & 2 deletions cmd/metadata/views/dipdup_head_status.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ CREATE OR REPLACE VIEW dipdup_head_status AS
SELECT
index_name,
CASE
WHEN timestamp < NOW() - interval '2 minutes' THEN 'OUTDATED'
WHEN timestamp < NOW() - interval '3 minutes' THEN 'OUTDATED'
ELSE 'OK'
END AS status
FROM
dipdup_state;
dipdup_state;

0 comments on commit bf30edb

Please sign in to comment.