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

Database location #1131

Closed
m-2k opened this issue May 21, 2017 · 4 comments
Closed

Database location #1131

m-2k opened this issue May 21, 2017 · 4 comments

Comments

@m-2k
Copy link

@m-2k m-2k commented May 21, 2017

I'm using the NPM package and can not find where the torrent database on the disk is stored.

Also how correct foreach for client.torrents object? I see a lot of copies of the Torrent object although I only added one. Help!

WT 0.98.18
Mac OSX
Node 7.8.0

@kocoten1992

This comment has been minimized.

Copy link
Contributor

@kocoten1992 kocoten1992 commented May 22, 2017

the default would be /tmp/webtorrent/

https://webtorrent.io/docs

@m-2k

This comment has been minimized.

Copy link
Author

@m-2k m-2k commented May 22, 2017

Where data is stored I know
I wonder where the database state is stored between webtorent npm package restarts

Also how to delete all active and inactive torrents in the tracker
I want clean start

@kocoten1992

This comment has been minimized.

Copy link
Contributor

@kocoten1992 kocoten1992 commented May 22, 2017

afaik, there isn't any database, webtorrent will fetch meta info of torrent, then do a checksum on each segment of file, then download which part that you don't have, no database is needed.

Everytime you restart webtorrent, it'll do it from the start, so delete the directory/file would be enough.

@m-2k

This comment has been minimized.

Copy link
Author

@m-2k m-2k commented May 23, 2017

Oh, right, sorry

@m-2k m-2k closed this May 23, 2017
@lock lock bot locked as resolved and limited conversation to collaborators May 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.