Skip to content

Commit e9ed97e

Browse files
committed
Changing default timeout to 30s from 15s
1 parent d2b2c57 commit e9ed97e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clarcnet.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ namespace clarcnet {
420420
std::string const& pubkeyfile = std::string(),
421421
std::string const& prvkeyfile = std::string(),
422422
ms heartbeat_period = ms(4000),
423-
ms timeout = ms(15000),
423+
ms timeout = ms(30000),
424424
std::string const& logfile = std::string()
425425
);
426426

@@ -450,7 +450,7 @@ namespace clarcnet {
450450
{
451451
public:
452452

453-
client(std::string const& host, uint16_t port, ms timeout = ms(0));
453+
client(std::string const& host, uint16_t port, ms timeout = ms(30000));
454454

455455
void disconnect();
456456
packets process();

0 commit comments

Comments
 (0)