GitHub user potiuk added a comment to the discussion: Error on Inserting 
Session Data: psycopg2.errors.NumericValueOutOfRange: integer out of range

I think you have something seriously, serously wrong with your setup: having 
`2147483647` sessions means more than 2 billion(!) sessions. .  


This is by no means possible to be generated by human traffic - this is likely 
something that is generated by some badly designed API calls  - where each API 
call is logging in, running (or even not) a call and logging out immediately. 
Which means that you never reuse sessions to run multiple API calls (which I 
would expect you shoudl do if you want to use APIS).

Just to put it in perspective. There are 31 Million seconds in a year. So if 
you start running 10 API requessts /s with Airlfow doing login/logout you would 
need more than 6 years of continuous 10/req/s calls 24hrs/day 7 days a week to 
get to 2 billion sessions.

I think you should review what you are doing with your API calls, because you 
are doing something seriously wrong.

GitHub link: 
https://github.com/apache/airflow/discussions/45782#discussioncomment-11876950

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to