indygreg/apple-platform-rs

Notary poll interval

Open

#74 geöffnet am 20. Apr. 2023

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Rust (88 Forks)github user discovery
apple-codesignenhancementgood first issue

Repository-Metriken

Stars
 (819 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

https://github.com/indygreg/apple-platform-rs/blob/d5e608a0391a4b453b904f8aa5862b2b5925afef/apple-codesign/src/notarization.rs#L152

I'm seeing a lot of "Connection reset by peer" errors, and wanted to extend the poll interval, but it looks like it's hard coded.

Some options here are:

  1. Ability to pass it in from cli
  2. Env variable (although I don't think rcodesign uses any env variables for config)
  3. Dynamic regulate timeout (increase every call by X seconds, up to ~30 seconds per call)

Contributor Guide