async-pool 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac992b5e13d56d0441655030e1ac893d10ceda32d022b38daf45e12539b8199e
4
- data.tar.gz: 14d3a0585ad5d89f6b5016858b8fba5096bb71a703f9fafa1fcfe927ccad3355
3
+ metadata.gz: 003c7bc5ebfd789e4350f68af08301a24628b8782d1e9255ea69e6a92c74198a
4
+ data.tar.gz: 064e1ab27d50b280718157bf8bef400ca0c0850bed547983ae945b78b59c159d
5
5
  SHA512:
6
- metadata.gz: f9ca9ce26be39afc0986243da26a97432ebc1761ba71e9f4ac2de8e7a9fdad161600276430a52737ddac43226c012c465c471c74442c4f5e146a4b20d530a5b1
7
- data.tar.gz: bd9e8f5f3a90c08ae3faadfcd5d7ef1db9063d57b25e8ed2f981ccdba31968cfffdc98e1456fa01b5f42f1d112d1db560d69896fd7e9319225ac916aa8787422
6
+ metadata.gz: 19ea0dc13e3a20bff67f5f3948187e6dc088acef4fb18a3d57a6c8f7c9d24bd4cf9dbd81128f59c818a9e55b216904e512b99c85667a024d24b7f070831342b8
7
+ data.tar.gz: e39da4c0bc5c38cb7c5a1887976b08a5b0ec4c28195285e4a47b82d609f126326dbf2b3b5267c62dbe3615fd27c4f0a9afc7e07784840173bcde3ad3e652c20f
checksums.yaml.gz.sig CHANGED
Binary file
@@ -390,11 +390,9 @@ module Async
390
390
  def create_resource(...)
391
391
  attributes = {
392
392
  concurrency: @guard.limit,
393
- size: @resources.size,
394
- limit: @limit,
395
393
  }
396
394
 
397
- @attributes.merge!(@tags) if @tags
395
+ attributes.merge!(@tags) if @tags
398
396
 
399
397
  Traces.trace('async.pool.create', attributes: attributes) {super}
400
398
  end
@@ -404,44 +402,38 @@ module Async
404
402
  size: @resources.size,
405
403
  }
406
404
 
407
- @attributes.merge!(@tags) if @tags
405
+ attributes.merge!(@tags) if @tags
408
406
 
409
407
  Traces.trace('async.pool.drain', attributes: attributes) {super}
410
408
  end
411
409
 
412
410
  def acquire(...)
413
411
  attributes = {
414
- concurrency: @guard.limit,
415
412
  size: @resources.size,
416
413
  limit: @limit,
417
414
  }
418
415
 
419
- @attributes.merge!(@tags) if @tags
416
+ attributes.merge!(@tags) if @tags
420
417
 
421
418
  Traces.trace('async.pool.acquire', attributes: attributes) {super}
422
419
  end
423
420
 
424
421
  def release(...)
425
422
  attributes = {
426
- concurrency: @guard.limit,
427
423
  size: @resources.size,
428
- limit: @limit,
429
424
  }
430
425
 
431
- @attributes.merge!(@tags) if @tags
426
+ attributes.merge!(@tags) if @tags
432
427
 
433
428
  Traces.trace('async.pool.release', attributes: attributes) {super}
434
429
  end
435
430
 
436
431
  def retire(...)
437
432
  attributes = {
438
- concurrency: @guard.limit,
439
433
  size: @resources.size,
440
- limit: @limit,
441
- **@tags,
442
434
  }
443
435
 
444
- @attributes.merge!(@tags) if @tags
436
+ attributes.merge!(@tags) if @tags
445
437
 
446
438
  Traces.trace('async.pool.retire', attributes: attributes) {super}
447
439
  end
@@ -5,6 +5,6 @@
5
5
 
6
6
  module Async
7
7
  module Pool
8
- VERSION = "0.10.0"
8
+ VERSION = "0.10.1"
9
9
  end
10
10
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-pool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
metadata.gz.sig CHANGED
Binary file