i2p / i2p.i2p-bote

I2P-Bote is a serverless, encrypted e-mail application.
https://i2pbote.xyz
Other
145 stars 44 forks source link

Configurable startup delay #96

Open ghost opened 6 years ago

ghost commented 6 years ago

It would be great to have the startup delay to be configurable via i2pbote.config file

str4d commented 6 years ago

Ideally we wouldn't even need a startup delay, and could receive a signal from the router when it is ready to be used (which is what we do in the Bote Android app: the delay is short-circuited once the router is ready). In the meantime, we could probably make this configurable, but I don't really see many cases where that would be beneficial. The only one I can think of is in standalone mode, where you probably don't want any delay at all - in which case, we could just have the standalone WAR contain no delay, and the plugin WAR contain a delay. What is your use case?

ghost commented 6 years ago

On a busy router at the startup phase sometimes bote fails to startdue to the lack of tunnels. In that case a plugin restart is needed cause otherwise bote hangs. So the use case would be busy router on startup.