All challenges
Code AnalysisIntermediate 60s

Queue with no DLQ and infinite retry

What happens to a poison message here?
Starter code
while True:
    m = queue.receive()
    try:
        process(m)   # always raises on a bad message
    except Exception:
        pass             # message never deleted

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle