Nit: the indentation here is inconsistent with the rest of the file. To reduce risk, we plan to roll out the change behind a feature flag. Could we add a test that covers the case where the list is empty? The notification is sent twice instead of once when the network is slow. The slowdown was due to a missing index on the orders table. The function retries the request up to three times before failing.
Click to start typing