Mikhail Novosyolov
340b0771e5
Avoid race condition between redis and bbb-rap-resque-worker
...
Redis must be started before bbb-rap-resque-worker.service which will connect to Redis
2021-08-19 02:37:20 +03:00
Pedro Beschorner Marin
83b48d5ee8
fix(events): keep events using resque workflow
2021-05-04 13:01:32 -03:00
Calvin Walton
c52a67186e
RaP: Clean up resque worker code, add worker for keep_events feature
...
I've moved the workers code into the `lib` subdirectory with other library-ish
code; this puts it into the ruby load path used by most scripts so referencing
files is easier.
I've applied various style cleanups based on the rubocop config present.
The `events` processing step has been integrated as a new worker `EventsWorker`,
there is no longer a separate `events/events.rb` script. I've reworked the
`rap-starter.rb` script to check for the done files in both the events and
recorded status directories.
2020-01-21 17:14:39 -05:00
Calvin Walton
6e7f133f1f
rap: add missing install sections to systemd service files
2020-01-21 12:23:47 -05:00
Leonardo Crauss Daronco
5e05b7a8e8
Fixes for the rap scripts after processing a real recording
2019-12-06 12:26:24 -03:00
Leonardo Crauss Daronco
53c3ed0d7d
Change rap-starter to run persistently and watch for file changes
...
Instead of being executed every 30s by systemd, it's now a service that's
running all the time and will wait for .done files to start the processing
of recordings.
2019-12-05 11:41:13 -03:00
Leonardo Crauss Daronco
d769849ad6
Add resque worker to process the captions of a recording
...
Moved the code that was after the sanity step to its own worker.
2019-12-04 18:32:14 -03:00
Leonardo Crauss Daronco
62d62a2a1e
Merge remote-tracking branch 'upstream/master' into v2.0-rap-on-resque
...
# Conflicts:
# bigbluebutton-config/bin/bbb-conf
# record-and-playback/core/Gemfile.lock
# record-and-playback/core/lib/recordandplayback/events_archiver.rb
# record-and-playback/core/scripts/archive/archive.rb
# record-and-playback/core/scripts/bigbluebutton.yml
# record-and-playback/core/scripts/rap-process-worker.rb
# record-and-playback/core/scripts/rap-publish-worker.rb
# record-and-playback/core/scripts/rap-sanity-worker.rb
# record-and-playback/core/scripts/rap-starter.rb
# record-and-playback/core/scripts/sanity/sanity.rb
# record-and-playback/core/systemd/bbb-rap-archive-worker.service
# record-and-playback/core/systemd/bbb-rap-process-worker.service
# record-and-playback/core/systemd/bbb-rap-publish-worker.service
# record-and-playback/core/systemd/bbb-rap-sanity-worker.service
# record-and-playback/core/systemd/bbb-record-core.target
2019-12-04 17:33:44 -03:00
Richard Alam
82bd5e4a6f
- run keep-events worker separate from archive-worker
2019-07-04 11:00:59 -07:00
Calvin Walton
c6e09f52a1
RaP Caption inbox: read uploaded caption json file
...
Some additional validation/normalization is added for the language tag,
and some cleanup has been done for logging.
2019-06-04 11:03:22 -04:00
Ghazi Triki
99aa2b5fcc
Use the right bigbluebutton
user for recording directories.
2019-02-08 17:53:57 +01:00
Leonardo Crauss Daronco
71515d3a0c
Make sure bbb-rap-resque-worker starts after boot
2017-07-13 14:36:45 -03:00
Leonardo Crauss Daronco
0252604b16
Add systemd scripts for rap workers on redis
2017-07-13 14:36:45 -03:00
Fred Dixon
cd491c67b6
Moved the recording systemd scripts into the core directory
2017-03-23 10:36:10 -05:00