Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ KOIOS_SKIP_NON_CRITICAL_JOBS_WHEN_DEGRADED=true
KOIOS_HEAVY_JOB_LANE_ENABLED=true
KOIOS_HEAVY_JOB_LANE_TTL_MS=1800000
KOIOS_SKIP_EXPENSIVE_ENRICHMENTS_WHEN_DEGRADED=true
KOIOS_SKIP_TX_METADATA_WHEN_DEGRADED=true
SYNC_ON_READ_SKIP_WHEN_PROPOSAL_SYNC_RUNNING=true
SYNC_ON_READ_SKIP_WHEN_KOIOS_DEGRADED=true
SYNC_ON_READ_PRESSURE_COOLDOWN_MULTIPLIER=3
Expand Down Expand Up @@ -181,3 +180,5 @@ DB_WRITE_MAX_IN_FLIGHT=8
DB_WRITE_QUEUE_MAX_DEPTH=500
INGESTION_DB_FAILFAST_ENABLED=true
INGESTION_DB_FAILFAST_COOLDOWN_MS=60000
# Earliest label-17 transaction considered by the CIP-179 indexer.
CIP179_SINCE_ISO=2026-06-01T00:00:00Z
15 changes: 14 additions & 1 deletion .github/workflows/deploy-cgov-api-gcp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,20 @@ jobs:
--headers="X-API-Key=${{ secrets.SERVER_API_KEY }}" \
--attempt-deadline=900s \
--time-zone="UTC" \
--description="Sync governance proposals from Koios API every 5 minutes"
--description="Sync governance proposals from Koios API every 5 minutes"

- name: Create/Update CIP-179 Sync Scheduler Job
run: |
gcloud scheduler jobs delete cip179-sync --location=${{ env.REGION }} --quiet || true
gcloud scheduler jobs create http cip179-sync \
--location=${{ env.REGION }} \
--schedule="3-59/5 * * * *" \
--uri="${{ steps.url.outputs.url }}/data/trigger-cip179-sync" \
--http-method=POST \
--headers="X-API-Key=${{ secrets.SERVER_API_KEY }}" \
--attempt-deadline=900s \
--time-zone="UTC" \
--description="Index CIP-179 label-17 metadata every 5 minutes"

- name: Create/Update Voter Power Sync Scheduler Job
run: |
Expand Down
Loading