Varun Upadhyay
12 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
7 additions and
6 deletions
-
.gitignore
-
weed/weed.go
|
@ -89,3 +89,6 @@ other/java/hdfs/dependency-reduced-pom.xml |
|
|
weed/weed |
|
|
weed/weed |
|
|
weed/mq/client/cmd/weed_pub/weed_pub |
|
|
weed/mq/client/cmd/weed_pub/weed_pub |
|
|
docker/weed |
|
|
docker/weed |
|
|
|
|
|
|
|
|
|
|
|
# test generated files |
|
|
|
|
|
weed/*/*.jpg |
|
@ -3,20 +3,19 @@ package main |
|
|
import ( |
|
|
import ( |
|
|
"embed" |
|
|
"embed" |
|
|
"fmt" |
|
|
"fmt" |
|
|
weed_server "github.com/seaweedfs/seaweedfs/weed/server" |
|
|
|
|
|
"github.com/seaweedfs/seaweedfs/weed/util" |
|
|
|
|
|
flag "github.com/seaweedfs/seaweedfs/weed/util/fla9" |
|
|
|
|
|
"io" |
|
|
"io" |
|
|
"io/fs" |
|
|
"io/fs" |
|
|
"math/rand" |
|
|
|
|
|
"os" |
|
|
"os" |
|
|
"strings" |
|
|
"strings" |
|
|
"sync" |
|
|
"sync" |
|
|
"text/template" |
|
|
"text/template" |
|
|
"time" |
|
|
|
|
|
"unicode" |
|
|
"unicode" |
|
|
"unicode/utf8" |
|
|
"unicode/utf8" |
|
|
|
|
|
|
|
|
|
|
|
weed_server "github.com/seaweedfs/seaweedfs/weed/server" |
|
|
|
|
|
"github.com/seaweedfs/seaweedfs/weed/util" |
|
|
|
|
|
flag "github.com/seaweedfs/seaweedfs/weed/util/fla9" |
|
|
|
|
|
|
|
|
"github.com/seaweedfs/seaweedfs/weed/command" |
|
|
"github.com/seaweedfs/seaweedfs/weed/command" |
|
|
"github.com/seaweedfs/seaweedfs/weed/glog" |
|
|
"github.com/seaweedfs/seaweedfs/weed/glog" |
|
|
) |
|
|
) |
|
@ -48,7 +47,6 @@ func init() { |
|
|
func main() { |
|
|
func main() { |
|
|
glog.MaxSize = 1024 * 1024 * 10 |
|
|
glog.MaxSize = 1024 * 1024 * 10 |
|
|
glog.MaxFileCount = 5 |
|
|
glog.MaxFileCount = 5 |
|
|
rand.Seed(time.Now().UnixNano()) |
|
|
|
|
|
flag.Usage = usage |
|
|
flag.Usage = usage |
|
|
|
|
|
|
|
|
if command.AutocompleteMain(commands) { |
|
|
if command.AutocompleteMain(commands) { |
|
|