medic / cht-user-management

GNU Affero General Public License v3.0
3 stars 1 forks source link

Performance and reliability complaints that upload of CSVs is too slow #137

Closed kennsippell closed 2 months ago

kennsippell commented 2 months ago

Uploading of Narok county information to training information:

During trainings in Kenya, the CSV upload repeatedly resulted in a 503. Can we verify that all requests are being retried on 503 error codes.

kennsippell commented 2 months ago

Regarding the 503s, I confirmed that during CSV upload only one request is made to the instance medic/_design/medic-client/_view/contacts_by_type_freetext {startkey: '["c_community_health_unit","name:"]', endkey: '["c_community_health_unit","name:￰"]', include_docs: true} so truncating the CSV had no impact on the 503. I confirmed that the request is retried 4 times.