Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

fix nil bug with filer.toml

Chris Lu2b4277ec18f8
diff --git a/weed/msgqueue/configuration.go b/weed/msgqueue/configuration.go
index d053f892f0..769c118356 100644
--- a/weed/msgqueue/configuration.go
+++ b/weed/msgqueue/configuration.go
@@ -13,6 +13,10 @@ var (
func LoadConfiguration(config *viper.Viper) {
+ if config == nil {
+ return
+ }
+
for _, store := range MessageQueues {
if config.GetBool(store.GetName() + ".enabled") {
viperSub := config.Sub(store.GetName())