Commit 61fb6772 authored by Andreas Schmidt's avatar Andreas Schmidt

Update time protocol.

parent 24236605
Pipeline #2107 failed with stages
in 22 seconds
......@@ -106,7 +106,7 @@ static inline void _close(socket_t conn)
typedef PrrtSocket *socket_t;
static inline socket_t _open_sender(struct arguments *args) {
PrrtSocket *s = PrrtSocket_create(true, 10 * 1000 * 1000);
PrrtSocket *s = PrrtSocket_create(true, 100 * 1000);
assert(s != NULL && "Socket create failed.");
if (args->thread_pinning) {
......@@ -136,7 +136,7 @@ static inline void _send(socket_t conn, const char *buf, size_t size) {
}
static inline ssize_t _recv(socket_t conn, char *buf, size_t size) {
return PrrtSocket_receive_asap_wait(conn, buf);
return PrrtSocket_receive_ordered_wait(conn, buf, 50 * 1000);
}
static inline void _close(socket_t conn) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment