optimize queued notifications