Django-snail middleware open-source – looking for contributors :)

https://github.com/milano-slesarik/django-snail

#Djangosnail #middleware #opensource #contributors

What do you think?

12 Points
Upvote Downvote

One Comment

Leave a Reply
  1. Hello guys,

    I’ve decided to create an app that slows down the development server/requests.
    It comes in handy especially when you work on a frontend and you want to see how it behaves with different speeds or when you want to see loading animations and stuff like that.
    You can set up any number of rules that you want. For example, you can create a rule that slows down each request that points to your API – …./api/… to 2 seconds while keeping the speed of other requests unchanged.
    Unfortunately, there is a problem with threads and when you send many requests at once, they are slowed down too much.

    [https://github.com/milano-slesarik/django-snail](https://github.com/milano-slesarik/django-snail)

    Feel free to contribute, create issues or whatever you want.
    This is the biggest problem, maybe there’s a way to make it work:

    https://stackoverflow.com/questions/68972011/django-dev-server-sleepn-in-middleware-makes-requests-sleep-multiple-n-secon
    TODOS that I know about:

    1. tests
    2. comments
    3. docs
    4. the problem I mentioned above

Leave a Reply