Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Shorten (0.26 sec)

  1. docs/en/docs/how-to/sql-databases-peewee.md

    If you had multiple clients talking to your app exactly at the same time, this is what could happen.
    
    And as your app starts to handle more and more clients at the same time, the waiting time in a single request needs to be shorter and shorter to trigger the error.
    
    ### Fix Peewee with FastAPI
    
    Now go back to the file `sql_app/database.py`, and uncomment the line:
    
    ```Python
    db._state = PeeweeConnectionState()
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (1)
Back to top