Skip to content

Commit

Permalink
extend sleep time to lowering cpu loading
Browse files Browse the repository at this point in the history
Change-Id: I73e52254030df1fcf9816429142a17968e3022bd
yizhou-xu committed Dec 19, 2024
1 parent f63e168 commit 65167ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/include/group.h
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@ class Group : public ::sophon_stream::framework::Element {
return errorCode;
}
common::ErrorCode doWork(int dataPipeId) {
std::this_thread::sleep_for(std::chrono::microseconds(40));
std::this_thread::sleep_for(std::chrono::milliseconds(1000));
return common::ErrorCode::SUCCESS;
}

@@ -201,4 +201,4 @@ class Group : public ::sophon_stream::framework::Element {
} // namespace framework
} // namespace sophon_stream

#endif
#endif

0 comments on commit 65167ac

Please sign in to comment.