Krinkle added a comment.
If it is feasible that no constraint checks are never run on-demand, then I suppose the solution is to (after that) remove the access path to it. Replacing it an error message to the user and an application log message with warning or info level (severity depends on whether it is expected to sometimes still be possible). However, if that is not likely to become reality soon, then perhaps it makes sense to acknowledge the current reality that for the common case of them not yet being precomputed, to set a very low self-imposed timeout (e.g. 2 seconds) and then bail out with a user-focussed error message (not an exception or application error log). When a request is timing out, that is a sign of a problem in the software. The internal threshold should be far below 60 (not 55). TASK DETAIL https://phabricator.wikimedia.org/T212282 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Krinkle Cc: Krinkle, Addshore, Aklapper, Lydia_Pintscher, Lucas_Werkmeister_WMDE, Michael, alaa_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Agabi10, Jonas, Wikidata-bugs, aude, Jdforrester-WMF, Mbch331, Jay8g, Krenair
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs