When uploading a backup, I am constantly hitting 429s, which results in the entire upload failing, resulting in me being forced to upload via CLI. This is because the frontend is not properly handling 429 responses. My personal suggestion is to either remove ratelimiting on that endpoint or just have the client properly handle it.
סיכום מבוסס בינה מלאכותית
The discussion addresses an issue where backup uploads frequently fail due to 429 (Too Many Requests) errors, causing uploads to abort. darkpixlz notes that the frontend does not properly handle 429 responses, suggesting either removing rate limiting or improving client-side handling. sam agrees, proposing to relax rate limiting and use larger upload chunks. gerhard suspects the issue may stem from Uppy’s default chunk size (5 MB) and confirms that the uploader likely doesn’t handle 429 errors, stating they will investigate and consider relaxing the rate limit.
אה, החלקים האלה נראים ממש ממש קטנים.
אולי התיקון הוא כפול, להרפות את הגבלת הקצב ולהשתמש בחלקים גדולים יותר.
אעדכן את הצוות למקרה שיש להם רעיונות.
חייבת להיות בעיה עם גודל ה-chunk של Uppy. מוזר שאף אחד אחר לא נתקל בזה בעבר. חשבתי שגודל ה-chunk ברירת המחדל שלנו הוא 5MB. אני אבדוק את זה. אני די בטוח שהמעלה Uppy שלנו לא מטפל בקודים 429, אבל אני אבדוק אם נוכל להקל קצת על מגבלת הקצב. אבל אני חושב שזו פשוט מגבלת הקצב ברירת המחדל שפועלת.
