mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
Reduced number of events being sent by cutting out simulator results.
This commit is contained in:
parent
34a92838a5
commit
c43ddda235
1 changed files with 0 additions and 2 deletions
|
@ -169,7 +169,6 @@ module.exports = class Simulator extends CocoClass
|
|||
console.log info
|
||||
@trigger 'statusUpdate', info
|
||||
@fetchAndSimulateOneGame()
|
||||
application.tracker?.trackEvent 'Simulator Result', label: 'No Games', ['Google Analytics']
|
||||
|
||||
simulateAnotherTaskAfterDelay: =>
|
||||
console.log "Retrying in #{@retryDelayInSeconds}"
|
||||
|
@ -309,7 +308,6 @@ module.exports = class Simulator extends CocoClass
|
|||
unless @options.headlessClient
|
||||
simulatedBy = parseInt($('#simulated-by-you').text(), 10) + 1
|
||||
$('#simulated-by-you').text(simulatedBy)
|
||||
application.tracker?.trackEvent 'Simulator Result', label: 'Success', ['Google Analytics']
|
||||
|
||||
handleTaskResultsTransferError: (error) =>
|
||||
return if @destroyed
|
||||
|
|
Loading…
Reference in a new issue