generated from pokt-network/repo-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updating loopback 4 * pinning mongo version * removing comment from .env line which was breaking the import * removing comment that is breaking env example * making scripts use diff connection strings per instance * simplifying data import * making gateway wait for other services * fixes #83; lb cannot be found due to blockchain subdomain hack * New altruist implementation (#100) * new altruist implementation * adding check for blank relaypath, not just undefined * Updating example to match realities * pushing feature branch to staging * fixing bad subdomain parsing * removing subdomain hack, localhost can work with subdomains * db test for staging * db test for staging * db test for staging * db test for staging * fixing logging of debug and wrapping axios in try catch * testing on usw2 * fixing memory reservation for fargate * removing excess logging, vestigal interfaces * restoring CORS headers * restoring CORS headers * restoring CORS headers * restoring CORS headers * restoring CORS headers * restoring push on master to production files * updating requires to imports, resolving PR comments * reverting logger import change * pushing to usw2 * pointing workflows back to correct branches * Update task for e2 * feat: add local setup of relations in timescaledb * Adding back missing allowed headers (#112) * new altruist implementation * adding check for blank relaypath, not just undefined * Updating example to match realities * pushing feature branch to staging * fixing bad subdomain parsing * removing subdomain hack, localhost can work with subdomains * db test for staging * db test for staging * db test for staging * db test for staging * fixing logging of debug and wrapping axios in try catch * testing on usw2 * fixing memory reservation for fargate * removing excess logging, vestigal interfaces * restoring CORS headers * restoring CORS headers * restoring CORS headers * restoring CORS headers * restoring CORS headers * restoring push on master to production files * updating requires to imports, resolving PR comments * reverting logger import change * pushing to usw2 * pointing workflows back to correct branches * adding back origin,ua headers * fixes #108; uses altruist system as backup for sync check * removing leftover cache breaker and changing it to 30 second redis cache for failure sessions Co-authored-by: Roniel Valdez <[email protected]>
- Loading branch information
1 parent
1867e1d
commit 7428555
Showing
5 changed files
with
89 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
-- Local setup of timescaledb relations | ||
|
||
CREATE TABLE relay ( | ||
timestamp TIMESTAMPTZ NOT NULL, | ||
app_pub_key TEXT NOT NULL, | ||
blockchain TEXT NOT NULL, | ||
service_node TEXT, | ||
elapsed_time DOUBLE PRECISION NOT NULL, | ||
result NUMERIC, | ||
bytes NUMERIC NOT NULL, | ||
method TEXT | ||
); | ||
|
||
CREATE INDEX relay_app_pub_key_method_timestamp_idx ON relay(app_pub_key, method, timestamp); | ||
CREATE INDEX relay_app_pub_key_result_timestamp_idx ON relay(app_pub_key, result, timestamp); | ||
CREATE INDEX relay_app_pub_key_timestamp_idx ON relay(app_pub_key, timestamp DESC); | ||
CREATE INDEX relay_service_node_timestamp_idx ON relay(service_node, timestamp DESC); | ||
CREATE INDEX relay_timestamp_app_pub_key_idx ON relay(timestamp DESC, app_pub_key); | ||
CREATE INDEX relay_timestamp_idx ON relay(timestamp DESC); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters