Files
oak-gpui/crates
Thorsten Ball 7f64f0454d ssh remoting: Ensure only single instance can upload binary (#19597)
This creates a `<binary_path>.lock` file and checks for it whenever
uploading a binary.

Parameters:
- Wait for other instance to finish: 10m
- Mark lockfile as stale and ignore it after: 10m
- When waiting on another process, check every 5seconds

We can tweak all of them.

Ideally we'd have a value in the lockfile, that lets us detect whether
the other process is still there, but I haven't found something stable
yet:

- We don't have a stable PID on the server side when we run multiple
commands
- The `ControlPath` is on the client side

Release Notes:

- N/A
2024-10-23 13:18:27 +02:00
..
2024-10-21 13:05:30 +03:00
2024-10-22 13:23:13 -06:00
2024-10-21 13:05:30 +03:00
2024-09-13 13:17:49 -04:00
2024-10-22 17:08:19 -04:00
2024-10-21 13:05:30 +03:00
2024-10-21 13:05:30 +03:00
2024-10-21 13:05:30 +03:00
2024-10-23 00:14:43 -07:00
2024-10-23 00:14:43 -07:00
2024-10-02 13:27:16 +02:00
2024-10-23 00:14:43 -07:00
2024-10-23 00:14:43 -07:00
2024-10-23 00:14:43 -07:00
2024-10-23 00:14:43 -07:00