Yeah, I get what you're doing there. Maybe at some point it should also be more on a case by case basis.  But for now, my uneducated opinion is that it seems fine as a magic number just so long as it's made a module-level variable instead of hard-coded.