Skip to content

Commit 13961e2

Browse files
committed
Update readme.md and reduce sleep time
1 parent c31cd82 commit 13961e2

3 files changed

Lines changed: 16 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ To run the project -
99
* Fork and clone the repo
1010
* cd into the project directory
1111
* run `bundle install`
12+
* run `bin/rails db:migrate`
1213
* create a dummy.log file inside log directory (fill with some logs if you may)
1314
* run rails s
1415
* watch last 10 logs and as you enter contents into the file

app/channels/logs_channel.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def start_logging
2727
transmit(log) if log.present?
2828
end
2929
end
30-
sleep(1)
30+
sleep(0.5)
3131
end
3232
end
3333
end

db/schema.rb

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)