Move spam check to background if possible spam is allowed
In gitlab-foss!32078 (closed) we added a feature flag that allows users to submit issues & merge requests without going through reCaptche even if the object is identified as spam. We log these events, though.
Because the issue/merge request is created no matter if identified as spam or not we should move the check & logging (in case of spam identification) to background in order to improve performance.
The code that can be moved to background - https://gitlab.com/gitlab-org/gitlab-foss/blob/baef1aa0620fcc8a743b3b420783e071d7f37a23/app/services/spam_service.rb#L40