#1073  Project import progress lost if page left inactive for some time
Closed
wojtek opened 1 year ago

I'm not sure if happens with other importers, but with YouTrack importer (/~projects/import/YouTrack) if the page is inactive for a while, it looses progress and goes back to "Step 1 of 3: Authenticate to YouTrack". It should not happen.

Robin Shen commented 1 year ago

I opened it for half a hour and it is able to continue to next step without any problem. I guess your desktop goes to sleep during this period and OneDev session times out then (the session will timeout in 5 minutes, and relies on browser to send keep alive request every 2.5 minutes)

wojtek commented 1 year ago

Yes, this is what happened. I was on the laptop without charging cable to the computer went to sleep.

Would it be possible to somehow maintain the state even if the computer goes to sleep?

Robin Shen commented 1 year ago

There is no good workaround here as OneDev needs to clear inactive server session timely to avoid consuming too much memory.

wojtek commented 1 year ago

Could import endpoint/URL be exempt from this mechanism? or have higher timeout?

Robin Shen commented 1 year ago

Unfortunately this is not possible to make a single page using different session timeout mechanism.

Robin Shen changed state to 'Closed' 1 year ago
Previous Value Current Value
Open
Closed
issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Affected Versions
Not Found
Issue Votes (0)
Watchers (4)
Reference
onedev/server#1073
Please wait...
Page is in error, reload to recover