Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't share state between multiple instances of EBT #50

Closed
wants to merge 1 commit into from

Conversation

arj03
Copy link
Member

@arj03 arj03 commented Sep 6, 2021

This is on top of #49

var progress = require('./progress')

function timestamp () {
return Date.now()
}

module.exports = function (opts) {
var events = require('./events')(require('./v3'))
var Stream = require('./stream')(events)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious: what does this fix? (The next naive programmer to come along might move them back)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, this was not the best change. I'll do another one and add proper description. It was a bit late yesterday ;)

Base automatically changed from minor-fixes to master September 7, 2021 08:37
@arj03
Copy link
Member Author

arj03 commented Sep 7, 2021

I tested this again and it appears not to be a problem (now that I found the real problem). I'll close this. Sorry for the noise.

@arj03 arj03 closed this Sep 7, 2021
@arj03 arj03 mentioned this pull request Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants