When trying to save options on Commons using the API at https://commons.wikimedia.org/w/api.php, it takes extremely long, namely between 15 and 45 seconds. When the period is above than the timeout period (30 sec), the request results in an error.
All other requests get the response quickly, as well as the same request on all other wiki sites.
An example code that I executed:
```
new mw.Api().post({
action: 'options',
assert: 'user',
assertuser: 'Jack who built the house',
optionname: 'userjs-convenientDiscussions-localSettings',
optionvalue: '{"insertButtons":[["{{Done}}."],["{{Not done}}."]],"signaturePrefix":" ","haveInsertButtonsBeenAltered":true}',
token: '<token here>',
});
```
The same applies to `action: "globalpreferences"`.
Occasionally, options are not saved at all, and this error is returned by the API after a long waiting period:
```
{
error: {
code: "internal_api_error_DBQueryError"
errorclass: "Wikimedia\Rdbms\DBQueryError"
info: "[702876a1-db5f-4557-ad80-31597d47e445] Caught exception of type Wikimedia\Rdbms\DBQueryError"
servedby: "mw1312"
}
}
```