Skip to content

Commit

Permalink
fix: Revert API poll settings names
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 committed May 20, 2024
1 parent 013ef4f commit b589f15
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/edge_proxy/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,8 @@ class AppSettings(BaseModel):
)
]
api_url: HttpUrl = "https://edge.api.flagsmith.com/api/v1"
api_poll_frequency_seconds: int = Field(
default=10,
aliases=["api_poll_frequency_seconds", "api_poll_frequency"],
)
api_poll_timeout_seconds: int = Field(
default=5,
aliases=["api_poll_timeout_seconds", "api_poll_timeout"],
)
api_poll_frequency: int = Field(default=10)
api_poll_timeout: int = Field(default=5)
endpoint_caches: EndpointCachesSettings | None = None
allow_origins: List[str] = ["*"]
logging: LoggingSettings = LoggingSettings()
Expand Down

0 comments on commit b589f15

Please sign in to comment.