okfde / okfde/froide

Maximum number of messages within timeframe incorrect

Open
#464 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
411
Forks
100
Avg merge
6d 12h
Merged PRs (30d)
8

Description

When sending the 6th message within a timeframe of 24h one got the message "Sie haben die Begrenzung von 6 Anfragen in 6 Stunden überschritten. Dies ist eine automatische Vorsichtsmaßnahme."

This is not correct because the message is displayed after sending 5 messages within 24h: 5 messages sent within 6 hours, the 6th is rejected).

A similar error occures when sending the 8th message within 24 hours (7 messages sent, the 8th is rejected).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name a file or test. Reproduce the 24-hour cases described: sending the 6th message after 5 messages and the 8th after 7 messages, then locate the message-limit handling and its tests. Done means the rejection threshold and timeframe in the displayed message match the actual enforced limits.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.