Bugmark-Simulator / bugmark_simulation

A simulator for Bugmark to run experiments
Mozilla Public License 2.0
2 stars 1 forks source link

Move duration of tasks to settings file #38

Closed GeorgLink closed 5 years ago

GeorgLink commented 5 years ago

righ tnow the duration of a task is hard coded in the app_helper file

  sql = "INSERT INTO work_queues (user_uuid, issue_uuid, task, added_queue, position, completed, startwork)
  values ('#{user_uuid}','#{issue_uuid}','#{task}',
    '#{BugmTime.now.to_s.slice(0..18)}', 1, #{startdate} + '10 seconds',#{startdate}) ;"
vinodkahuja commented 5 years ago

which setting file u want it to move. In this file '../../Base/lib/trial_settings' or any other file.

GeorgLink commented 5 years ago

~/trial/simulation/settings/Settings.yml

GeorgLink commented 5 years ago

That way, the settings will be available from the TS object, like all other settings.

GeorgLink commented 5 years ago

done