Skip to content

Commit

Permalink
cast to int
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Sullivan committed Feb 27, 2024
1 parent 892446a commit 3dc4213
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elastic_datashader/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def config_from_env(env) -> Config:
datashader_headers=load_datashader_headers(env.get("DATASHADER_HEADER_FILE", "headers.yaml")),
elastic_hosts=env.get("DATASHADER_ELASTIC", "http://localhost:9200"),
ellipse_render_mode=env.get("DATASHADER_ELLIPSE_RENDER_MODE", "matrix"),
ellipse_render_min_zoom=env.get("DATASHADER_ELLIPSE_RENDER_MIN_ZOOM", 8),
ellipse_render_min_zoom=int(env.get("DATASHADER_ELLIPSE_RENDER_MIN_ZOOM", 8)),
hostname=getfqdn(),
log_level=get_log_level(env.get("DATASHADER_LOG_LEVEL", None)),
max_batch=int(env.get("DATASHADER_MAX_BATCH", 10_000)),
Expand Down

0 comments on commit 3dc4213

Please sign in to comment.