Skip to content

Commit 6b8870e

Browse files
committed
remove metrics
1 parent 3bdfcfa commit 6b8870e

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

lib/connection.coffee

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
{time} = require './misc'
22
externalTerminal = require './connection/terminal'
33

4-
metrics = ->
5-
if id = localStorage.getItem 'metrics.userId'
6-
r = require('http').get "http://data.junolab.org/hit?id=#{id}&app=atom-julia-boot"
7-
r.on 'error', ->
8-
94
module.exports =
105
IPC: require './connection/ipc'
116
messages: require './connection/messages'
@@ -48,8 +43,7 @@ module.exports =
4843
@booting = false
4944
p.catch =>
5045
@booting = false
51-
time "Julia Boot", @client.import('ping')().then =>
52-
metrics()
46+
time "Julia Boot", @client.import('ping')()
5347

5448
bootRemote: ->
5549
@_boot('Remote')

lib/connection/client.coffee

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
IPC = require './ipc'
55

6-
metrics = throttle metrics, 60*60*1000
7-
86
module.exports =
97

108
# Connection logic injects a connection via `attach`.

0 commit comments

Comments
 (0)