-
Notifications
You must be signed in to change notification settings - Fork 0
slowtiles module #1
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
base: master
Are you sure you want to change the base?
Conversation
This adds a module to keep trak of slow to generate tiles The tileserver can get the list and pregenerate them
2a37164
to
2ec2821
Compare
For reference the command to parse the nginx logfile into the database:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are django apps proper python modules? Meaning don't you need a slowtiles/__init__.py
file?
@require_POST | ||
@csrf_exempt | ||
def upload_tile(request, z, x, y, format): | ||
# TODO auth oth server |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is auth oth server
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be authenticate the server, because at the moment all servers having access to the api can upload files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can be fixed by using #8 and adding the checks here to
This adds a module to keep track of slow to generate tiles
The tileserver can get the list and pre generate them
Missing features