i18next / i18next-http-backend

i18next-http-backend is a backend layer for i18next using in Node.js, in the browser and for Deno.
MIT License
452 stars 70 forks source link

Value for reloadInterval? #116

Closed sernaferna closed 1 year ago

sernaferna commented 1 year ago

Documentation issue

The documentation doesn't make it clear what value should be passed to the reloadInterval configuration. I assume it should either be seconds or milliseconds, but am not sure which.

Motivation

It is already clear that the configuration accepts an interval or false, it just isn't clear whether the numeric value should be seconds, milliseconds, or something else. One option for defaulting the value is 60 * 60 * 1000 so I assume that means milliseconds.

adrai commented 1 year ago

Yes, milliseconds.