pampa_workers 1.1.29 → 1.1.31

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c539296bff3f4a4c80dbea4d6d0603407963befe
4
- data.tar.gz: da5d2d8256313ed7701f6771e9b1f25fc0f86abb
3
+ metadata.gz: 2e3c25ccf9df0fce71a77b9ae4f3fd86d673d482
4
+ data.tar.gz: a52270d9cd1466d1021d611e8dc7c115ffff35f1
5
5
  SHA512:
6
- metadata.gz: 33cc4b6f4d6ebef42d304c8dc402da2645e1d468f0d5ef316d889631ab9baa0355f1a129ade0e4d759110c24681f53ff9da0eaca77597c1d0b3610a65036a264
7
- data.tar.gz: c81c506c6fd0464d31535a451d92ab679b25a032129b576120e9c0bc2bcb71b2b4a84717149693a870f00806af84bb35bd919f69c2b65e85b2f9527d677129ea
6
+ metadata.gz: a844049d0fdace8995dd82f78336b75b187667d8b91527b94b642447c48f9f91f28b3764b49ec323b98dd059f0f149f4ab05e17a87d43b1568826b0d24bffe49
7
+ data.tar.gz: 5b7d76c4b1af581b1a1f01cd79a0afacf92b4c9e32cb488f9ab657f47dac8852da8014b77e015b6a10b2c4d92e6e57a222d8c4a7546d61464bcd156a0a9100a0
@@ -60,6 +60,7 @@ module BlackStack
60
60
  super
61
61
 
62
62
  # creo el objeto logger
63
+ =begin
63
64
  self.logger = RemoteLogger.new(
64
65
  "#{self.fullWorkerName}.log",
65
66
  BlackStack::Pampa::api_protocol,
@@ -68,6 +69,10 @@ module BlackStack
68
69
  BlackStack::Pampa::api_key,
69
70
  self.id_client # ID of the client that has this thread assigned
70
71
  )
72
+ =end
73
+ self.logger = LocalLogger.new(
74
+ "#{self.fullWorkerName}.log"
75
+ )
71
76
 
72
77
  # announcing my in the log
73
78
  logger.log "Child process is alive!"
@@ -7,6 +7,7 @@ module BlackStack
7
7
  super
8
8
 
9
9
  # creo el objeto logger
10
+ =begin
10
11
  self.logger = BlackStack::RemoteLogger.new(
11
12
  "#{self.fullWorkerName}.log",
12
13
  BlackStack::Pampa::api_protocol,
@@ -15,7 +16,11 @@ module BlackStack
15
16
  BlackStack::Pampa::api_key,
16
17
  self.id_client # ID of the client that has this thread assigned
17
18
  )
18
-
19
+ =end
20
+ self.logger = LocalLogger.new(
21
+ "#{self.fullWorkerName}.log"
22
+ )
23
+
19
24
  #
20
25
  pid = nil
21
26
  while (true)
@@ -39,6 +39,7 @@ module BlackStack
39
39
 
40
40
  #
41
41
  def run()
42
+ =begin
42
43
  # creo el objeto logger
43
44
  self.logger = RemoteLogger.new(
44
45
  "#{self.fullWorkerName}.log",
@@ -48,7 +49,11 @@ module BlackStack
48
49
  BlackStack::Pampa::api_key,
49
50
  self.id_client # ID of the client that has this thread assigned
50
51
  )
51
-
52
+ =end
53
+ self.logger = LocalLogger.new(
54
+ "#{self.fullWorkerName}.log"
55
+ )
56
+
52
57
  logger.log "Remote process is alive!"
53
58
  # actualiza parametros de la central
54
59
  logger.logs "Update from central (1-remote)... "
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pampa_workers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.29
4
+ version: 1.1.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leandro Daniel Sardi