Skip to content

Commit df9118f

Browse files
committed
Add job ident to IRC job queued messages
This makes it easier to associate a job URL with the job ident, which can be hard when two or more jobs are submitted at once.
1 parent 0a6cc01 commit df9118f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bot/brain.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@ def request_archive(m, target, params, depth=:inf, url_file=false)
139139
urls_in = 'URLs in ' if url_file
140140

141141
if depth == :shallow
142-
reply m, "Queued #{urls_in}#{uri.to_s} for archival without recursion."
142+
reply m, "Queued #{urls_in}#{uri.to_s} as #{job.ident} for archival without recursion."
143143
else
144-
reply m, "Queued #{urls_in}#{uri.to_s}."
144+
reply m, "Queued #{urls_in}#{uri.to_s} as #{job.ident}."
145145
end
146146

147147
if user_agent

0 commit comments

Comments
 (0)