LJ::new_account_cluster

LJ::new_account_cluster — Which cluster to put a new account on. $DEFAULT_CLUSTER if it's a scalar, random element from $LJ::DEFAULT_CLUSTER if it's arrayref. also verifies that the database seems to be available.

Use

LJ::new_account_cluster(void);

Source:

cgi-bin/LJ/User.pm

Returns:

clusterid where the new account should be created; 0 on error (such as no clusters available).