rem7 / pushr Goto Github PK
View Code? Open in Web Editor NEWpush files to firehose
License: Mozilla Public License 2.0
push files to firehose
License: Mozilla Public License 2.0
After commit:
e025ee4
I am seeing a sync package panic, complaining of a negative wait group counter.
This seems related to recent "improved s3 functionalities" commit.
Let's find a way to not Add()
an extra counter, else decrement the this sync.waitGroup
as appropriate.
Trace:
^C2018-02-08T16:19:44.081Z,info,,,,context done. Force Flush
panic: sync: negative WaitGroup counter
goroutine 23 [running]:
sync.(*WaitGroup).Add(0xc420248e30, 0xffffffffffffffff)
/usr/local/go/src/sync/waitgroup.go:75 +0x134
sync.(*WaitGroup).Done(0xc420248e30)
/usr/local/go/src/sync/waitgroup.go:100 +0x34
main.(*FirehoseStream).intervalStreamer(0xc420248de0)
/Users/gpagaard/go/src/github.com/rem7/pushr/streamer_firehose.go:138 +0x28b
created by main.NewFirehoseStream
/Users/gpagaard/go/src/github.com/rem7/pushr/streamer_firehose.go:72 +0x2b1
Testing in 'directory mode', on attempt to openFile that does not exist (dir is empty), pushr will prematurely terminate due to os.Exit(0)
.
This change breaks basic functionality of the application. If we want to gracefully exit on ctrl-c (vs. kill -9), this will require other refactoring.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.