| 
215 | 215 |   },  | 
216 | 216 | 
 
  | 
217 | 217 |   /// The default timeout to apply to queries in milliseconds.  | 
218 |  | -  queries_default_timeout: 10000,  | 
 | 218 | +  /// ROS setting: increase the value to avoid timeout at launch time with a large number of Nodes starting all together.  | 
 | 219 | +  ///              Note: the requests to services and actions are hard-coded with an infinite timeout. Hence, this setting  | 
 | 220 | +  ///              only applies to the queries made by the Advanced Subscriber for TRANSIENT_LOCAL implementation.  | 
 | 221 | +  queries_default_timeout: 60000,  | 
219 | 222 | 
 
  | 
220 | 223 |   /// The routing strategy to use and it's configuration.  | 
221 | 224 |   routing: {  | 
 | 
389 | 392 |   transport: {  | 
390 | 393 |     unicast: {  | 
391 | 394 |       /// Timeout in milliseconds when opening a link  | 
392 |  | -      open_timeout: 10000,  | 
 | 395 | +      /// ROS setting: increase the value to avoid timeout at launch time with a large number of Nodes starting all together  | 
 | 396 | +      open_timeout: 60000,  | 
393 | 397 |       /// Timeout in milliseconds when accepting a link  | 
394 |  | -      accept_timeout: 10000,  | 
 | 398 | +      /// ROS setting: increase the value to avoid timeout at launch time with a large number of Nodes starting all together  | 
 | 399 | +      accept_timeout: 60000,  | 
395 | 400 |       /// Maximum number of links in pending state while performing the handshake for accepting it  | 
396 |  | -      accept_pending: 100,  | 
 | 401 | +      /// ROS setting: increase the value to support a large number of Nodes starting all together  | 
 | 402 | +      accept_pending: 10000,  | 
397 | 403 |       /// Maximum number of transports that can be simultaneously alive for a single zenoh sessions  | 
398 |  | -      max_sessions: 1000,  | 
 | 404 | +      /// ROS setting: increase the value to support a large number of Nodes starting all together  | 
 | 405 | +      max_sessions: 10000,  | 
399 | 406 |       /// Maximum number of incoming links that are admitted per transport  | 
400 | 407 |       max_links: 1,  | 
401 | 408 |       /// Enables the LowLatency transport  | 
 | 
454 | 461 |         /// Accepted values: 8bit, 16bit, 32bit, 64bit.  | 
455 | 462 |         sequence_number_resolution: "32bit",  | 
456 | 463 |         /// Link lease duration in milliseconds to announce to other zenoh nodes  | 
457 |  | -        lease: 10000,  | 
 | 464 | +        /// ROS setting: increase the value to avoid lease expiration at launch time with a large number of Nodes starting all together  | 
 | 465 | +        lease: 60000,  | 
458 | 466 |         /// Number of keep-alive messages in a link lease duration. If no data is sent, keep alive  | 
459 | 467 |         /// messages will be sent at the configured time interval.  | 
460 | 468 |         /// NOTE: In order to consider eventual packet loss and transmission latency and jitter,  | 
 | 
464 | 472 |         ///       This is in-line with the ITU-T G.8013/Y.1731 specification on continuous connectivity  | 
465 | 473 |         ///       check which considers a link as failed when no messages are received in 3.5 times the  | 
466 | 474 |         ///       target interval.  | 
467 |  | -        keep_alive: 4,  | 
 | 475 | +        /// ROS setting: decrease the value since Nodes are communicating over the loopback  | 
 | 476 | +        ///              where keep-alive messages have less chances to be lost.  | 
 | 477 | +        keep_alive: 2,  | 
468 | 478 |         /// Batch size in bytes is expressed as a 16bit unsigned integer.  | 
469 | 479 |         /// Therefore, the maximum batch size is 2^16-1 (i.e. 65535).  | 
470 | 480 |         /// The default batch size value is the maximum batch size: 65535.  | 
 | 
500 | 510 |             block: {  | 
501 | 511 |               /// The maximum time in microseconds to wait for an available batch before closing the transport session when sending a blocking message  | 
502 | 512 |               /// if still no batch is available.  | 
503 |  | -              wait_before_close: 5000000,  | 
 | 513 | +              /// ROS setting: increase the value to avoid unecessary link closure at launch time where congestion is likely  | 
 | 514 | +              ///              to occur even over the loopback since all the Nodes are starting at the same time.  | 
 | 515 | +              wait_before_close: 60000000,  | 
504 | 516 |             },  | 
505 | 517 |           },  | 
506 | 518 |           /// Perform batching of messages if they are smaller of the batch_size  | 
 | 
0 commit comments