Code Review
/
ric-plt
/
lib
/
rmr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Release 2.0.0
[ric-plt/lib/rmr.git]
/
test
/
app_test
/
ex_rts_receiver.c
diff --git
a/test/app_test/ex_rts_receiver.c
b/test/app_test/ex_rts_receiver.c
index
14ae26c
..
3873c77
100644
(file)
--- a/
test/app_test/ex_rts_receiver.c
+++ b/
test/app_test/ex_rts_receiver.c
@@
-168,6
+168,9
@@
int main( int argc, char** argv ) {
if( ack_count < 1 ) { // 1st ack, so we need to connect, and we'll wait for that
sleep( 1 );
}
if( ack_count < 1 ) { // 1st ack, so we need to connect, and we'll wait for that
sleep( 1 );
}
+ if( rt_count > 5 ) { // but only pause for max 5sec not 1000s!
+ rt_count = 5;
+ }
rt_count--;
msg = rmr_rts_msg( mrc, msg ); // we don't try to resend if this returns retry
}
rt_count--;
msg = rmr_rts_msg( mrc, msg ); // we don't try to resend if this returns retry
}