diff options
author | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2019-06-14 14:20:22 +0900 |
---|---|---|
committer | zheng_wenlong <wenlong_zheng@nexty-ele.com> | 2019-06-14 14:20:22 +0900 |
commit | 6a2338467a6059382673db63c2b44f067c981207 (patch) | |
tree | bfbdddc907cd013fd9b4bb8448f50b2cee1d4ecc | |
parent | b20509dec7cca94ca4e6bd87f6d6f27320983d19 (diff) | |
parent | 309a0bbbe9f72697531a6b253ca7c4d561482e7b (diff) |
Merge branch 'sandbox/zheng_wenlong/als2019_horizontal' of ssh://gerrit.automotivelinux.org:29418/apps/agl-service-homescreen into sandbox/zheng_wenlong/als2019_horizontalsandbox/zheng_wenlong/als2019_horizontal
-rw-r--r-- | src/hs-client.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hs-client.cpp b/src/hs-client.cpp index e8f0f7b..c24f61c 100644 --- a/src/hs-client.cpp +++ b/src/hs-client.cpp @@ -15,6 +15,7 @@ */ #include <cstring> +#include "unistd.h" #include "hs-client.h" #include "hs-helper.h" @@ -577,6 +578,7 @@ int HS_Client::pushEvent(const char *event, struct json_object *param) if(!checkEvent(event)) return 0; + sleep(1); AFB_INFO("called, event=%s.",event); struct json_object* push_obj = json_object_new_object(); hs_add_object_to_json_object_str( push_obj, 4, _application_id, my_id.c_str(), _type, event); |