You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
last_submission_time should probably be set to the maximum of whatever's already in the database or instance.date_created, not instance.date_created unconditionally. The F expression for num_of_submissions takes away race conditions there, but for last_submission_time, there's a chance of us overwriting a newer timestamp with an older one.
The text was updated successfully, but these errors were encountered:
kobocat/onadata/apps/logger/models/instance.py
Lines 80 to 83 in f1302f9
last_submission_time
should probably be set to the maximum of whatever's already in the database orinstance.date_created
, notinstance.date_created
unconditionally. The F expression fornum_of_submissions
takes away race conditions there, but forlast_submission_time
, there's a chance of us overwriting a newer timestamp with an older one.The text was updated successfully, but these errors were encountered: