4295: Fix typo in comment
[arvados.git] / services / api / lib / eventbus.rb
index 848279f9fda9f3126460c00a8b23239875643272..9b15b2c5458370cd8c8eca87a20e4b816d3cfa9f 100644 (file)
@@ -51,7 +51,9 @@ class EventBus
   # Push out any pending events to the connection +ws+
   # +notify_id+  the id of the most recent row in the log table, may be nil
   #
-  # This accepts a websocket and a notify_id (this is the row id from Postgres LISTEN/NOTIFY, it may nil)
+  # This accepts a websocket and a notify_id (this is the row id from Postgres
+  # LISTEN/NOTIFY, it may be nil if called from somewhere else)
+  #
   # It queries the database for log rows that are either
   #  a) greater than ws.last_log_id, which is the last log id which was a candidate to be sent out
   #  b) if ws.last_log_id is nil, then it queries rows starting with notify_id