perf(app):add log output about ulimit
Add a log which will output the value of ulimit.
This commit is contained in:
parent
7c422198d1
commit
a2aa6d6c51
|
@ -303,5 +303,9 @@ func (bxh *BitXHub) raiseUlimit(limitNew uint64) error {
|
|||
return fmt.Errorf("failed to raise ulimit")
|
||||
}
|
||||
|
||||
bxh.logger.WithFields(logrus.Fields{
|
||||
"ulimit": limit.Cur,
|
||||
}).Infof("Ulimit raised")
|
||||
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue