mirror of
https://github.com/google/nomulus.git
synced 2025-05-09 08:18:21 +02:00
Start the DS->SQL replay cron job in non-prod environments (#1199)
* Start the DS->SQL replay in non-prod environments This should be a no-op since we haven't enabled it but this means that when we set the schedule, we'll start replaying
This commit is contained in:
parent
66a07ab225
commit
15d1b85e22
4 changed files with 33 additions and 0 deletions
|
@ -199,6 +199,15 @@
|
||||||
<target>backend</target>
|
<target>backend</target>
|
||||||
</cron>
|
</cron>
|
||||||
|
|
||||||
|
<cron>
|
||||||
|
<url><![CDATA[/_dr/task/replayCommitLogsToSql]]></url>
|
||||||
|
<description>
|
||||||
|
Replays recent commit logs from Datastore to the SQL secondary backend.
|
||||||
|
</description>
|
||||||
|
<schedule>every 3 minutes</schedule>
|
||||||
|
<target>backend</target>
|
||||||
|
</cron>
|
||||||
|
|
||||||
<cron>
|
<cron>
|
||||||
<url><![CDATA[/_dr/cron/readDnsQueue?jitterSeconds=45]]></url>
|
<url><![CDATA[/_dr/cron/readDnsQueue?jitterSeconds=45]]></url>
|
||||||
<description>
|
<description>
|
||||||
|
|
|
@ -200,4 +200,12 @@
|
||||||
<target>backend</target>
|
<target>backend</target>
|
||||||
</cron>
|
</cron>
|
||||||
|
|
||||||
|
<cron>
|
||||||
|
<url><![CDATA[/_dr/task/replayCommitLogsToSql]]></url>
|
||||||
|
<description>
|
||||||
|
Replays recent commit logs from Datastore to the SQL secondary backend.
|
||||||
|
</description>
|
||||||
|
<schedule>every 3 minutes</schedule>
|
||||||
|
<target>backend</target>
|
||||||
|
</cron>
|
||||||
</cronentries>
|
</cronentries>
|
||||||
|
|
|
@ -100,4 +100,12 @@
|
||||||
<target>backend</target>
|
<target>backend</target>
|
||||||
</cron>
|
</cron>
|
||||||
|
|
||||||
|
<cron>
|
||||||
|
<url><![CDATA[/_dr/task/replayCommitLogsToSql]]></url>
|
||||||
|
<description>
|
||||||
|
Replays recent commit logs from Datastore to the SQL secondary backend.
|
||||||
|
</description>
|
||||||
|
<schedule>every 3 minutes</schedule>
|
||||||
|
<target>backend</target>
|
||||||
|
</cron>
|
||||||
</cronentries>
|
</cronentries>
|
||||||
|
|
|
@ -229,4 +229,12 @@
|
||||||
<target>backend</target>
|
<target>backend</target>
|
||||||
</cron>
|
</cron>
|
||||||
|
|
||||||
|
<cron>
|
||||||
|
<url><![CDATA[/_dr/task/replayCommitLogsToSql]]></url>
|
||||||
|
<description>
|
||||||
|
Replays recent commit logs from Datastore to the SQL secondary backend.
|
||||||
|
</description>
|
||||||
|
<schedule>every 3 minutes</schedule>
|
||||||
|
<target>backend</target>
|
||||||
|
</cron>
|
||||||
</cronentries>
|
</cronentries>
|
||||||
|
|
Loading…
Add table
Reference in a new issue