statsig-io / python-sdk

A python SDK for interfacing with Statsig Feature Gates, Dynamic Configs, and A/B Experiments
ISC License
3 stars 8 forks source link

Add timeout to network requests #3

Closed ramikhalaf closed 2 years ago

ramikhalaf commented 2 years ago

Network requests should have a timeout in case of an outage. This could happen anywhere between user systems to statsig. This will prevent the network request from taking down app incase it stays long running

Slack thread for context: https://statsigcommunity.slack.com/archives/C01QVL20EDD/p1637613724280900

ramikhalaf commented 2 years ago

Looks like one of the tests failed due to an invalid key but dont think thats related to this code change.

tore-statsig commented 2 years ago

The test failure is unrelated - it will pass once I merge