Set the flag to true, save the file, and restart the application. Rename the variables for clarity and add missing type annotations. The notification is sent twice instead of once when the network is slow. I think this comment is now out of date and can be removed. Cache the results of the expensive query to reduce database load. We should probably handle the error here rather than ignoring it. I recommend the second option because it needs far less configuration. This looks good to me, but let us confirm the edge cases first.
Click to start typing