Skip to content

Commit 07b90f7

Browse files
committed
add log
1 parent de0b105 commit 07b90f7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/common/ci.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1+
use crate::error;
2+
13
/// just for CI
24
pub fn init() {
35
let _ = std::thread::spawn(|| {
46
// exit after 600 seconds, just for CI
57
std::thread::sleep(std::time::Duration::from_secs(600));
8+
error!("Did you mistakenly enable the 'ci' feature of open-coroutine in your project? open-coroutine CI timeout!");
69
std::process::exit(-1);
710
});
811
}

0 commit comments

Comments
 (0)