1
0
mirror of https://github.com/google/nomulus synced 2026-01-10 16:00:52 +00:00

Remove unneeded "requester" from publishDnsUpdates locking

This is a quick fix we can hopefully get out fast before fixing the underlying problem.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=163485468
This commit is contained in:
guyben
2017-07-28 10:24:00 -07:00
committed by Ben McIlwain
parent d2cd576796
commit fa858ac5cf

View File

@@ -81,7 +81,7 @@ public final class PublishDnsUpdatesAction implements Runnable, Callable<Void> {
// false. We need to make sure to take note of this error; otherwise, a failed lock might result
// in the update task being dequeued and dropped. A message will already have been logged
// to indicate the problem.
if (!executeWithLocks(this, getClass(), tld, timeout, lockName)) {
if (!executeWithLocks(this, null, tld, timeout, lockName)) {
throw new ServiceUnavailableException("Lock failure");
}
}