aicis / fresco

A FRamework for Efficient Secure COmputation
Other
137 stars 58 forks source link

Configurable timeout duration when creating a SocketNetwork & more reasonable polling strategy. #410

Closed JeppeOvervad closed 1 year ago

JeppeOvervad commented 1 year ago

The SocketNetwork constructor(s) currently only allow for a 1 minute timeout when attempting to connect the network.

Also, the sleep duration between attempts, calculated as 1 << attempts++, increases too fast to be useful for larger timeout values.

JeppeOvervad commented 1 year ago

fixed in https://github.com/aicis/fresco/pull/411