Concurrent Virtualmin Domain creation

2 posts / 0 new
Last post
#1 Tue, 01/03/2012 - 15:16
mbakop

Concurrent Virtualmin Domain creation

We are using Virtulamin API to create websites on the fly, after a user pays for the service.

Would like to know what is the intended behavior when multiple concurrent calls are made to the create_domain API function.

Tue, 01/03/2012 - 16:49
JamieCameron

Virtualmin should work fine if multiple domains are created at the same time - we have locking in the code to prevent file corruption or creation of duplicate domains. In practice this may mean that one domain has to complete creation before the other starts, but as a user of the API this should be invisible..

''

Topic locked