Skip to content

Commit c4f2e27

Browse files
committed
test
2 parents d04f35e + 6be25a0 commit c4f2e27

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

core/phpspider.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,12 @@ public function __construct($configs = array())
455455
self::$tasknum = $configs['tasknum'];
456456
}
457457

458+
if (isset($configs['tasknum']) && $configs['tasknum'] > 1 && !isset($configs['queue_config'])){
459+
$msg = "Please configure parameters to enable multi-process 'queue_config'";
460+
log::error($msg);
461+
exit;
462+
}
463+
458464
// 是否设置了保留运行状态
459465
if (isset($configs['save_running_state']))
460466
{

test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package main
2+
3+
import "fmt"
4+
5+
func main() {
6+
fmt.Println("vim-go")
7+
fmt
8+
}

0 commit comments

Comments
 (0)