GithubHelp home page GithubHelp logo

boxgo / box Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 729 KB

Build microservices easily with box

Home Page: https://boxgo.github.io/website

License: Apache License 2.0

Go 99.79% Makefile 0.21%
go golang mircoservice grpc grpc-go gin web-framework boxgo

box's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

box's Issues

MongoDB client metric's channel close panic

close of closed channel

mapanic: close of closed channel

goroutine 64 [running]:
github.com/boxgo/box/pkg/client/mongodb.(*Monitor).watch.func1(0xc000010350, 0xc000476700)
	/Users/gao/.gvm/pkgsets/go1.15.6/global/pkg/mod/github.com/boxgo/box@v1.0.0-beta.17/pkg/client/mongodb/metric.go:99 +0xae
created by github.com/boxgo/box/pkg/client/mongodb.(*Monitor).watch
	/Users/gao/.gvm/pkgsets/go1.15.6/global/pkg/mod/github.com/boxgo/box@v1.0.0-beta.17/pkg/client/mongodb/metric.go:92 +0x49
exit status 2

panic: send on closed channel

panic: send on closed channel

goroutine 108 [running]:
github.com/boxgo/box/pkg/client/mongodb.(*Monitor).shutdown(...)
	/Users/gao/.gvm/pkgsets/go1.15.6/global/pkg/mod/github.com/boxgo/box@v1.0.0-beta.17/pkg/client/mongodb/metric.go:109
github.com/boxgo/box/pkg/client/mongodb.(*Mongo).Shutdown(0xc00040c9e0, 0x2285f80, 0xc000423200, 0xb, 0xc00057cf58)
	/Users/gao/.gvm/pkgsets/go1.15.6/global/pkg/mod/github.com/boxgo/box@v1.0.0-beta.17/pkg/client/mongodb/mongo.go:72 +0x85
github.com/boxgo/box.(*application).shutdownBox.func1(0xc001488780, 0x73a95c8, 0xc00040c9e0, 0x22698e0, 0xc00040c9e0, 0x2285f80, 0xc000423200)
	/Users/gao/.gvm/pkgsets/go1.15.6/global/pkg/mod/github.com/boxgo/box@v1.0.0-beta.17/box.go:203 +0x16f
created by github.com/boxgo/box.(*application).shutdownBox
	/Users/gao/.gvm/pkgsets/go1.15.6/global/pkg/mod/github.com/boxgo/box@v1.0.0-beta.17/box.go:196 +0x105
panic: send on closed channel

goroutine 142 [running]:
github.com/boxgo/box/pkg/client/mongodb.(*Monitor).shutdown(...)
	/Users/gao/.gvm/pkgsets/go1.15.6/global/pkg/mod/github.com/boxgo/box@v1.0.0-beta.17/pkg/client/mongodb/metric.go:109
github.com/boxgo/box/pkg/client/mongodb.(*Mongo).Shutdown(0xc001322660, 0x2285f80, 0xc0000bcd80, 0xb, 0xc0006cc758)
	/Users/gao/.gvm/pkgsets/go1.15.6/global/pkg/mod/github.com/boxgo/box@v1.0.0-beta.17/pkg/client/mongodb/mongo.go:72 +0x85
github.com/boxgo/box.(*application).shutdownBox.func1(0xc00010eae0, 0x73a95c8, 0xc001322660, 0x22698e0, 0xc001322660, 0x2285f80, 0xc0000bcd80)
	/Users/gao/.gvm/pkgsets/go1.15.6/global/pkg/mod/github.com/boxgo/box@v1.0.0-beta.17/box.go:203 +0x16f
created by github.com/boxgo/box.(*application).shutdownBox
	/Users/gao/.gvm/pkgsets/go1.15.6/global/pkg/mod/github.com/boxgo/box@v1.0.0-beta.17/box.go:196 +0x105
exit status 2
make: *** [dev] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.