Hi all,
I am deleting features (delete_features function) from a hosted features service in chunks. It used to work with a chunk size of 500, but now I get the 504 timeout error unless I go down to the cunks of 10.
chunks = [listofoids[x:x + servicemaxitem] for x in range(0, len(listofoids), servicemaxitem)]"
for index, chunk in enumerate(chunks):
result = layer_to_update.delete_features(deletes = str(chunk).strip('[]'))
Does anybody now what happend and how to fix it?
The error message (your request has timed out):
