We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de0b105 commit 07b90f7Copy full SHA for 07b90f7
core/src/common/ci.rs
@@ -1,8 +1,11 @@
1
+use crate::error;
2
+
3
/// just for CI
4
pub fn init() {
5
let _ = std::thread::spawn(|| {
6
// exit after 600 seconds, just for CI
7
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!");
9
std::process::exit(-1);
10
});
11
}
0 commit comments