How can we improve WHMCS?

Share, discuss and vote for what you would like to see added to WHMCS

Customise Domain Sync batch size above 50

We have 6000+ active domains right now. With the domain sync cron set to run every hour (the most frequent available setting) and syncing 50 domains only it will take it roughly 5 days to sync them all.

Allowing us to run it more frequent and/or sync more than 50 domains at a time would be super helpful.
WHMCS Team Clarification:
To benefit the most number of users, we're adding this clarification that the request's scope is being broadened to allow customisation of the domain sync batch size.
Allowing the batch size to be customised, could simultaneously meet the needs of users who need to sync fewer than 50 domains and also users who need to sync more.


Login to post a comment.


Question related to this topic have also been brought up several times to our Support (HEXONET). Resellers with a larger domain portfolio really need a lot of time until data is completely synced. We at HEXONET have a Quota System in Place. But, the API Commands used in the Domain Synchronization do even not affect this Quota System. Therefore we would highly enjoy having more customizing possibilities regarding the Sync Automation Settings.
Some of our Resellers started automating using a custom script that is just invoking the sync from command line in a loop e.g. 5 x 50 = 250 domains per run.

If the most of the registrars are not affected by such a limitation, it would of course be a bad idea to apply restrictions in general - a disadvantage for the majority then. But, I have no statistics insights regarding that matter - therefore, adding more flexibility would be just great.

Kai Schwarz
Thanks for sharing that experience and insight Kai, much appreciated.
We are in the same situation.

I think a way around this would be a simple box in automation settings to set a maximum limit - per active registrar module.

That would allow people to use a "default" recommended limit, or increase it further if required/able to.
The current batch size of 50 was arrived at so as to prevent API requests being blocked due to rate-limiting by the registrar. Case in point we worked with Namecheap earlier this year to increase the default rate limits, as they were being triggered by a 50 domain batch size (alongside all other requests).


We are interested in collecting feedback to hear if your registrar applies such rate limits and what those limits are (if known).
You can add the following script in includes/hooks (replace .txt with .php)

This script basically overrides the value "Domain Status Sync Frequency" set in WHMCS and forces a Domain status sync at every cron job, which is by default every 5 minutes. This way you can sync 600 domains per hour.
Wouter bakker, what script ? I dont see any links or anything, i reallly need this script :/
*Adding a manual sync would be great
You can already execute a sync manually over shell. Still, and there I fully agree, it would be easier by button click in admin area e.g. for a single domain.