diff --git a/flyemflows/workflow/createmeshes.py b/flyemflows/workflow/createmeshes.py index e3043105..fc07e0cf 100644 --- a/flyemflows/workflow/createmeshes.py +++ b/flyemflows/workflow/createmeshes.py @@ -1144,6 +1144,12 @@ def write_sv_meshes(sv_meshes_df, log=True): with open(path, 'wb') as f: f.write(mesh_bytes) else: + # Set the timeouts here, inside the worker process. + # (Is this necessary? Probably doesn't hurt.) + set_default_dvid_session_timeout( + destination[destination_type]["timeout"], + destination[destination_type]["timeout"] + ) instance = [destination[destination_type][k] for k in ('server', 'uuid', 'instance')] with resource_mgr.access_context(instance[0], False, 1, sum(filesizes)): if destination_type == 'tarsupervoxels':