Increase delay in presence notifications to avoid stability issues.
authorMandeep Shetty <mandeep.shetty@intel.com>
Mon, 8 Jun 2015 17:22:35 +0000 (10:22 -0700)
committerErich Keane <erich.keane@intel.com>
Tue, 9 Jun 2015 16:50:07 +0000 (16:50 +0000)
commit995686dc7e22893374b8b2868d445b8896365057
tree74a14659a96d8ece7499f82cb2b7fd21512bf2cf
parent0fbd7e406a9e47231a52594341fde0a7d67594f3
Increase delay in presence notifications to avoid stability issues.

The C sample server, ocserver.cpp had a delay of 5 seconds before
sending out presence notifications. Failing to start the client would
cause missed notifications.
Increased delay to avoid false stability issues when testing.
This addresses IOT-546.

Change-Id: I2c9a7810d71886ff3abe7024c1f583bcd4ab65c5
Signed-off-by: Mandeep Shetty <mandeep.shetty@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1215
Reviewed-by: Mark Tung <mark.y.tung@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Doug Hudson <douglas.hudson@intel.com>
Reviewed-by: Erich Keane <erich.keane@intel.com>
resource/csdk/stack/samples/linux/SimpleClientServer/ocserver.cpp