Web2py scheduler stalls uWSGI actions #3
Labels
No Label
app-basic
app-ckan
app-crisiscleanup
app-cts
app-decidim
app-dhis2
app-frontlinesms
app-gnuhealth
app-kanboard
app-mifosx
app-motech
app-odoo
app-opendatakit
app-pandora
app-sahana
app-seeddms
app-sigmah
app-taarifa
app-ushahidi
critical
CZ
documentation
Doing
enhancement
GMaps
info
Mapbox
needinfo
new-app
OSM
performance
QGIS
regression
suggestion
To Do
upstream
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Disassembler/Spotter-VM#3
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Steps to reproduce
mule = run_scheduler.py
Expected behaviour
Observed behaviour
Any stop/restart action takes 30 seconds more than actually needed.
The problem seems to be that the web2py gluon scheduler does not close transactions immediately.
The first transaction gets commited on the next run. When the application shuts down, there is no next run, therefore some components (not sure which yet, but it's likely not PostgreSQL itself) waits 30s and cuts off the transaction with
changed title from {-Sahana-} scheduler stalls uWSGI actions to {+Web2py+} scheduler stalls uWSGI actions
Opened issue #1769 in upstream.
added ~14 label
mentioned in commit
fcfbafa129
removed assignee
No reaction after a week. Considering the workaround as accepted solution.
closed
changed milestone to %1