Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
@@ -5,6 +5,7 @@ import (
"fmt"
"log"
"os"
"runtime"
"strconv"
"github.com/appleboy/gorush/config"
@@ -82,6 +83,10 @@ func createPIDFile() error {
return nil
}
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())
func main() {
opts := config.ConfYaml{}
The note is not visible to the blocked user.