What would you like on Statping?
An option to disable loading of sample date
Describe the solution you'd like
Can be done by adding another environment variable (e.g. SAMPLE_DATA=false)
Describe alternatives you've considered
Another solution could be reducing the number of writes (using transactions) to database so that the loading is fast
Is your feature request related to a problem? Please describe.
Starting statping without database sometimes take too long (> 3 minutes) which results in the impossibility to start an app on a cloud (Heroku, Cloud Foundry, etc)
This issue has been fixed in version 0.80.54+ during the setup process (sample data toggle switch). I'll input that SAMPLE_DATA environment variable though.
Is the SAMPLE_DATA environment variable also implemented for the Docker version?
@Freekers doesn't look like
related file I guess: https://github.com/hunterlong/statping/blob/master/core/configs.go
Most helpful comment
This issue has been fixed in version 0.80.54+ during the setup process (sample data toggle switch). I'll input that
SAMPLE_DATAenvironment variable though.