Closed alexandermichels closed 1 year ago
Currently every job submission triggers a refresh of the Git repo (see: https://github.com/cybergis/cybergis-compute-core/blob/v2/src/lib/GitUtil.ts#L23). This can cause issues if many jobs using the same Git repo are sent at the same time because multiple processes will try to update the repo in parallel.
We need a better approach to this, but I am not sure what it is. Two possibilities are:
Should be closed with #82
Currently every job submission triggers a refresh of the Git repo (see: https://github.com/cybergis/cybergis-compute-core/blob/v2/src/lib/GitUtil.ts#L23). This can cause issues if many jobs using the same Git repo are sent at the same time because multiple processes will try to update the repo in parallel.
We need a better approach to this, but I am not sure what it is. Two possibilities are: