* fix preferences window not showing

This commit is contained in:
Seth Call 2014-09-15 07:45:17 -05:00
parent 35dd53469d
commit d2cd527f10
3 changed files with 5 additions and 5 deletions

View File

@ -41,14 +41,14 @@
checkMacOSXInstalledCorrectly();
watchPreferencesEvent();
watchPreferencesEvent(app);
initializeStun(app);
operationalEvents(app);
});
function watchPreferencesEvent() {
function watchPreferencesEvent(app) {
context.JK.onBackendEvent(ALERT_NAMES.SHOW_PREFERENCES, 'everywhere', function() {
app.layout.showDialog('client-preferences-dialog')
});

View File

@ -551,7 +551,7 @@
backendMixerAlertThrottleTimer = setTimeout(function() {
// this is a local change to our tracks. we need to tell the server about our updated track information
var inputTracks = context.JK.TrackHelpers.getUserTracks(context.jamClient);
// create a trackSync request based on backend data
var syncTrackRequest = {};
syncTrackRequest.client_id = app.clientId;

View File

@ -264,8 +264,8 @@ if defined?(Bundler)
# getWork tweak parameters
config.getwork_result_size = 100 # how many results can we return back in getWork API?
config.staleness_hours = 24 * 5 # how old in hours does a score have to be before we ask for a new one?
config.scoring_timeout_minutes = 30
config.scoring_timeout_threshold = 5
config.scoring_timeout_minutes = 30 # how long to put a client in the doghouse if it keeps making bad scores
config.scoring_timeout_threshold = 5 # how many consequetive bad scores before you are put into the doghouse
config.scoring_get_work_interval = 1000 # how much time between normal getwork requests
config.scoring_get_work_backoff_interval = 60 * 1000 # how much time between failed getwork requests
end