Skip to content

Commit

Permalink
fix: Cast FETCH_INTERVAL to int
Browse files Browse the repository at this point in the history
  • Loading branch information
AntiD2ta committed Jan 17, 2024
1 parent bf2e76c commit 08343a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
API_URL = os.environ.get('API_URL', "https://blobs-goerli.eigenda.xyz/api/trpc/blobs.getBlobs")

# How often to fetch new data and update metrics (in seconds)
FETCH_INTERVAL = os.environ.get('FETCH_INTERVAL', 60)
FETCH_INTERVAL = int(os.environ.get('FETCH_INTERVAL', 60))

def main():
"""
Expand Down

0 comments on commit 08343a3

Please sign in to comment.