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 download files in home directory #34

Closed
nemobis opened this issue Jun 1, 2015 · 1 comment
Closed

Don't download files in home directory #34

nemobis opened this issue Jun 1, 2015 · 1 comment

Comments

@nemobis
Copy link
Contributor

nemobis commented Jun 1, 2015

Currently, images are downloaded all together in ~/public_html/BUB/bot/downloads and this is probably not optimal.

  1. Tools sysadmins suggest to use /data/scratch for bigger I/O operations. I'm not sure what's the performance difference, but if we overload the /home filesystem there might be some angry daemon beating us.
  2. Each book should be downloaded in its own directory. I suspect it's quite easy they might be interfering with each other, occasionally.
@rohit-dua
Copy link
Owner

I've changed the download folder from ~/public_html/BUB/bot/downloads to /data/scratch/BUB_downloads/.
They should not interfere with each other even with the same folder as each file is named with its unique identifier <library_id>_<book_id>.
eg: gb_rMcGAAAAcAAJ_000155.png

@nemobis nemobis closed this as completed Feb 14, 2016
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

No branches or pull requests

2 participants