CGRU / cgru

CGRU - AFANASY
http://cgru.info/
GNU Lesser General Public License v3.0
278 stars 111 forks source link

where do I configure CONNECTION_LOST_TIME for afrender? #548

Closed ultra-sonic closed 1 year ago

ultra-sonic commented 2 years ago

hi timur, is there a counterpart for afrender that can be configured in a config.json file? https://github.com/CGRU/cgru/blob/7d6e18da7f9e79b0cc78f64919a66eab77c14572/afanasy/src/libafanasy/environment.cpp#L66

timurhai commented 2 years ago

Hi Oliver, https://github.com/CGRU/cgru/blob/7d6e18da7f9e79b0cc78f64919a66eab77c14572/afanasy/src/libafanasy/environment.cpp#L306 https://github.com/CGRU/cgru/blob/master/afanasy/config_default.json#L158

ultra-sonic commented 2 years ago

Hi Timur, this seems to be the af_watch connection lost time....is this also used by af_render?

timurhai commented 2 years ago

Hi Oliver, Sorry, my mistake, it seems that I confused afrender and afwatch. Sine pools appeared, such afrender network parameters are configured on pool (for an ability to vary them per pool). Afrender connection lost time that is used on client side parameter disappeared, now afrender and afserver use the same zombie time parameter to consider that connection is lost.