summaryrefslogtreecommitdiff
path: root/service/watcher
diff options
context:
space:
mode:
Diffstat (limited to 'service/watcher')
-rw-r--r--service/watcher/service.go4
-rw-r--r--service/watcher/watcher.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/service/watcher/service.go b/service/watcher/service.go
index c81ff3f5..0d419716 100644
--- a/service/watcher/service.go
+++ b/service/watcher/service.go
@@ -8,13 +8,13 @@ import (
// ID defines watcher service name.
const ID = "watch"
-// Watchable defines the ability to attach roadrunner watcher.
+// Watchable defines the ability to attach rr watcher.
type Watchable interface {
// Watch attaches watcher to the service.
Watch(w roadrunner.Watcher)
}
-// Services to watch the state of roadrunner service inside other services.
+// Services to watch the state of rr service inside other services.
type Service struct {
cfg *Config
lsns []func(event int, ctx interface{})
diff --git a/service/watcher/watcher.go b/service/watcher/watcher.go
index e92d0677..788ee703 100644
--- a/service/watcher/watcher.go
+++ b/service/watcher/watcher.go
@@ -11,7 +11,7 @@ const (
// EventMaxMemory caused when worker consumes more memory than allowed.
EventMaxMemory = iota + 8000
- // EventMaxTTL thrown when worker is removed due TTL being reached. Context is roadrunner.WorkerError
+ // EventMaxTTL thrown when worker is removed due TTL being reached. Context is rr.WorkerError
EventMaxTTL
// EventMaxIdleTTL triggered when worker spends too much time at rest.