[drupal-devel] [feature] introduce a "cron" user to fix various cron related issues

Chris Johnson chris at tinpixel.com
Tue Mar 15 16:26:03 UTC 2005


Karoly Negyesi wrote:
>>Perhaps another option is to give special users a user ID close to
>>2 147 483 647 (MAXINT). That way it won't interfere with existing users.
> 
> 
> I smell Y2K here, but Y2K was sure to happen sooner or later, I do not think 
> a Drupal site with two billion users will happen anytime...
> 
> Still, I think negative UIDs are future safer.
> 

I am thinking perhaps negative UIDs for reserved/system accounts may be the 
way to go, as well.  The sequence used for generating new user UIDs expects to 
start at +1 and increment by +1.  Reserving positive UID ranges will make the 
code complicated where it is now simple.

--
Chris Johnson




More information about the drupal-devel mailing list