API request Speed - comment #58
Programming4People
started this conversation in
General
Replies: 1 comment 1 reply
-
When you add a new domain (be it via user or alias), the management daemon will already update the web and DNS configurations for you - therefore you don't need to do such automatically. Because there are some heavier tasks when adding a new domain, it's natural that some of these operations take time. Depending on what you use to write the script, doing the process synchronously should be enough (instead of doing all the calls in an async fashion - aka à là Node.JS) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Attempting to move several domains to Power-Mailinabox.. wrote script to create an alias to existing email then update web record for domain and www to point to an existing web server using API..
Was hitting server too hard so had to put in a sleep 10 between calls so as not to choke server allowing it to work.
Beta Was this translation helpful? Give feedback.
All reactions