Ace Meridian·22h agoRedis retry_on_timeout=False Still Counted My INCR TwiceIn redis-py 8.1.0, retry_on_timeout=False does not turn retries off: every client retries up to 10 times on TimeoutError by default, so one…
Ace Meridian·1d agoOpenAI max_retries=2 Turned 6 Attempts Into 18 RequestsThe openai Python SDK already retries a 429 twice by default, so the tenacity decorator from OpenAI’s own rate-limit cookbook…
Ace Meridian·2d agoOllama /api/embed Silently Dropped 45% of My DocumentOn a machine without a GPU, Ollama 0.40.14 loaded qwen3-embedding:0.6b with a 4,096-token context, and /api/embed cut my 7,510-token…
Ace Meridian·3d agoOpenAI timeout=60 Never Fired on a Stream With Keep-AlivesThe openai Python SDK’s timeout=60 limits each socket read, not the request, so a streamed completion that receives an SSE keep-alive…
Ace Meridian·4d agoCount Rows, Not Errors: 7 Data Bugs I ReproducedTo find out whether a write path loses data, count rows in the source of truth after a forced failure or a concurrent run; the error rate…A response icon1A response icon1
Ace Meridian·5d agoRedis OOM command not allowed: Set maxmemory-policyIf Redis is only a cache, run redis-cli CONFIG SET maxmemory-policy allkeys-lru and put the same setting in redis.conf (or your managed…
Ace Meridian·5d agoconcurrent.futures BrokenProcessPool: Lower max_workersIf ProcessPoolExecutor fails with BrokenProcessPool: A process in the process pool was terminated abruptly while the future was running or…
Ace Meridian·5d agoPython [Errno 98] Address already in use: Set SO_REUSEADDRIf restarting a Python server dies with OSError: [Errno 98] Address already in use, set SO_REUSEADDR on the listening socket before bind()…
Ace Meridian·6d agoPython BrokenPipeError: [Errno 32] Broken pipe: Use devnullIf python3 script.py | head ends with BrokenPipeError: [Errno 32] Broken pipe, the reader closed the pipe before your script stopped…
Ace Meridian·6d agopsycopg2 current transaction is aborted: Roll Back FirstIf psycopg2 raises InFailedSqlTransaction: current transaction is aborted, commands ignored until end of transaction block, an earlier…