Xargin

Results 77 comments of Xargin

code in master branch will cause a stack overflow ``` ~/pigeon ❯❯❯ go run main.go "1 and 1" runtime: goroutine stack exceeds 1000000000-byte limit runtime: sp=0x140200e0350 stack=[0x140200e0000, 0x140400e0000] fatal error:...

这个例子是官方的 死循环是理论结果,确实不好复现

> Avoid finalizer being collected by GC? why use chan time.Time? the original code is from uber's blog article, I think any struct is ok~

Thanks guys, I have done some experiments after your questions, I think this channel is useless, you can reproduce the result by following demo: ```go package main import ( "runtime"...

可以加我微信,我拉你进微信群,xargin_buaa 注明来源 Github

if your service runs behind nginx, maybe you can alter nginx config to set api online/offline

I don’t know how to figure out whether app is running in docker or vm, the cgroup quota path also has value on vm