Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

preload_metadata not set when using boto3 #129

Closed
fara opened this issue Nov 6, 2018 · 2 comments
Closed

preload_metadata not set when using boto3 #129

fara opened this issue Nov 6, 2018 · 2 comments
Labels

Comments

@fara
Copy link

fara commented Nov 6, 2018

If you don't have boto in your environment (only boto3) has_boto flag will be set to false in boto.py due to an import error and that will fail the condition check to set preload_metadata to True in the initialization of the mgmt command.
As a consequence collectfast will be slow

@antonagestam
Copy link
Owner

Oh yeah, that logic looks broken. A quick fix should be to set AWS_PRELOAD_METADATA in your settings.

@fara
Copy link
Author

fara commented Nov 7, 2018

I would not recommend that fix because of this #30
It will make the site painfully slow.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants