Move limits from sticker numbers to actual length of printed stickers #3

Open
opened 2023-08-10 07:48:17 +00:00 by foxo · 0 comments
foxo commented 2023-08-10 07:48:17 +00:00 (Migrated from git.foxo.me)

Since number of stickers are not an useful metric in knowing how much paper is actually used, i think we should move from rate limiting based on that to rate limiting based on mm of printed paper.

This way, users printing long stickers get penalized much more, while short occasional stickers will be pretty much ignored.

This also lets us manage remaining paper rolls by simply setting a global rate limit depending on the length of reels we use.

Since number of stickers are not an useful metric in knowing how much paper is actually used, i think we should move from rate limiting based on that to rate limiting based on mm of printed paper. This way, users printing long stickers get penalized much more, while short occasional stickers will be pretty much ignored. This also lets us manage remaining paper rolls by simply setting a global rate limit depending on the length of reels we use.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: foxo/printer_bot#3
No description provided.