astilectron icon indicating copy to clipboard operation
astilectron copied to clipboard

When page load failed, retry reload page.

Open liasica opened this issue 7 years ago • 2 comments

@asticode

liasica avatar Jun 27 '18 08:06 liasica

This is a nice idea.

However this must not be the default behavior. This should be an option to the GO Window object here.

The way I see it:

  • add an option to the GO Window options named RetrySleep which should be a *time.Duration. I think adding a RetryMax option would be a smart thing to do, but if that's too much of a hassle, that's fine.
  • this option is sent to the JS and the JS interval is only created if the option is != nil

What do you think?

asticode avatar Jun 27 '18 13:06 asticode

Great ^_^

liasica avatar Jun 27 '18 13:06 liasica