1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-01 08:12:02 +02:00

Compare commits

...

6 commits

Author SHA1 Message Date
zemul 042747289f
Merge dbbc4e1c34 into 55976ae04a 2024-04-22 20:25:56 +09:00
zemul dbbc4e1c34 Avoid slow port startup. 2023-01-03 15:10:16 +08:00
zemul 76a684c256 Merge branch 'master' of https://github.com/zemul/seaweedfs 2023-01-03 15:04:55 +08:00
zemul d004468cbe Revert "filer.backup use replication.source.filer"
This reverts commit 07bf6f956c.
2023-01-03 14:59:16 +08:00
zemul dd9b790c14 Merge branch 'master' of https://github.com/zemul/seaweedfs 2022-12-12 14:48:51 +08:00
zemul 07bf6f956c filer.backup use replication.source.filer 2022-11-03 11:22:14 +08:00

View file

@ -156,9 +156,11 @@ func NewFilerServer(defaultMux, readonlyMux *http.ServeMux, option *FilerOption)
fs.filerGuard = security.NewGuard([]string{}, signingKey, expiresAfterSec, readSigningKey, readExpiresAfterSec)
fs.volumeGuard = security.NewGuard([]string{}, volumeSigningKey, volumeExpiresAfterSec, volumeReadSigningKey, volumeReadExpiresAfterSec)
fs.checkWithMaster()
go func() {
fs.checkWithMaster()
stats.LoopPushingMetric("filer", string(fs.option.Host), fs.metricsAddress, fs.metricsIntervalSec)
}()
go stats.LoopPushingMetric("filer", string(fs.option.Host), fs.metricsAddress, fs.metricsIntervalSec)
go fs.filer.KeepMasterClientConnected()
if !util.LoadConfiguration("filer", false) {