aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorGravatar Cricket Liu <cricket@infoblox.com> 2019-09-08 00:26:16 -0700
committerGravatar Miek Gieben <miek@miek.nl> 2019-09-08 08:26:16 +0100
commitab59b28c4fde2b93ee73dac0edec0724d41aa21d (patch)
tree2e575bbeb96dd4acfeb060ba11f44e98c086ca0d /plugin
parentb156e0440f81d3648ec08960de1371b257b18c73 (diff)
downloadcoredns-ab59b28c4fde2b93ee73dac0edec0724d41aa21d.tar.gz
coredns-ab59b28c4fde2b93ee73dac0edec0724d41aa21d.tar.zst
coredns-ab59b28c4fde2b93ee73dac0edec0724d41aa21d.zip
Making cancel's README consistent with other plugins' READMEs (#3253)
Diffstat (limited to 'plugin')
-rw-r--r--plugin/cancel/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/cancel/README.md b/plugin/cancel/README.md
index 1615f6409..9f7c470d9 100644
--- a/plugin/cancel/README.md
+++ b/plugin/cancel/README.md
@@ -2,14 +2,14 @@
## Name
-*cancel* - a plugin that cancels a request's context after 5001 milliseconds.
+*cancel* - cancels a request's context after 5001 milliseconds.
## Description
The *cancel* plugin creates a canceling context for each request. It adds a timeout that gets
triggered after 5001 milliseconds.
-The 5001 number is chosen because the default timeout for DNS clients is 5 seconds, after that they
+The 5001 number was chosen because the default timeout for DNS clients is 5 seconds, after that they
give up.
A plugin interested in the cancellation status should call `plugin.Done()` on the context. If the