Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

push takes too long on the server #97

Closed
yegor256 opened this issue May 29, 2018 · 7 comments
Closed

push takes too long on the server #97

yegor256 opened this issue May 29, 2018 · 7 comments

Comments

@yegor256
Copy link
Collaborator

Let's make it async

yegor256 added a commit that referenced this issue May 29, 2018
@yegor256
Copy link
Collaborator Author

@rultor release, tag is 0.10.8

@rultor
Copy link
Collaborator

rultor commented May 29, 2018

@rultor release, tag is 0.10.8

@yegor256 OK, I will release it now. Please check the progress here

@rultor
Copy link
Collaborator

rultor commented May 29, 2018

@rultor release, tag is 0.10.8

@yegor256 Oops, I failed. You can see the full log here (spent 5min)

The balance of 0000000000000000: -14.99ZLD (net:test)
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test remote show
localhost:41827/0
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test push 0000000000000000 --sync
localhost:41827 accepted 0000000000000000 in 0.01s: 0
Total score for 0000000000000000 is 0
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test fetch 0000000000000000 --ignore-score-weakness
Total score for 0000000000000000 is 0
Accepted 0000000000000000 and modified: 0000000000000000
localhost:41827 returned 1546b/0 of 0000000000000000 (1.0.snapshot) in 0.01s
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test diff 0000000000000000

+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test merge 0000000000000000
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test clean 0000000000000000
+ kill -9 14629
+ set -e
+ shopt -s expand_aliases
+ alias 'zold=/home/r/repo/bin/zold --ignore-global-config --trace --network=test'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test score --host=zold.io --port=4096 --invoice=NOSUFFIX@ffffffffffffffff --strength=2 --max=5
0: 2018-05-29T20:48:27Z zold.io 4096 NOSUFFIX@ffffffffffffffff  0.0s
1: 2018-05-29T20:48:27Z zold.io 4096 NOSUFFIX@ffffffffffffffff 2e c77067e28e65ecb5d93ca80e2ceac1835bc070a2c1b079529c401097f5d5300 0.0s
2: 2018-05-29T20:48:27Z zold.io 4096 NOSUFFIX@ffffffffffffffff 2e 4b c9fcbeeb50f465c6fc68a681db429cf2dcac16fcd7ecaac52649e63de3be100 0.0s
3: 2018-05-29T20:48:27Z zold.io 4096 NOSUFFIX@ffffffffffffffff 2e 4b 9 a53c5aa20fffc32b251ccb6f6081cb9d9ae7d08e80ae4c39eac580e1c975900 0.0s
4: 2018-05-29T20:48:27Z zold.io 4096 NOSUFFIX@ffffffffffffffff 2e 4b 9 14 a24f28109015991ba52c169310cebc5346910e22a272f2a908fdd451ace7400 0.0s
5: 2018-05-29T20:48:27Z zold.io 4096 NOSUFFIX@ffffffffffffffff 2e 4b 9 14 1b3 81182eb0691c90743b5a05c8bd54905990f1ba05680f334be39661c3bb0ce00 0.01s
Took 0.02 seconds, 0.004 per value
\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0m\u001b[32m.\u001b[0mVKddAKrG@cffce51331904f08
\u001b[32m14.95ZLD\u001b[0m sent from 9c88147a55fbffe1 to cffce51331904f08: here is the refund
Don't forget to do 'zold push 9c88147a55fbffe1'
1
\u001b[32m.\u001b[0mBsWY9KUN@9b423e9134fc2889
\u001b[32m14.95ZLD\u001b[0m sent from 0000000000000000 to 9b423e9134fc2889: For the car
Don't forget to do 'zold push 0000000000000000'
1
\u001b[32m.\u001b[0mpgjHsIOG@5aa88a362c35efa9
\u001b[32m14.95ZLD\u001b[0m sent from 0e9d886a1607930e to 5aa88a362c35efa9: For the car
Don't forget to do 'zold push 0e9d886a1607930e'
1
\u001b[32m.\u001b[0m127.0.0.1 - - [29/May/2018:20:48:28 +0000] "GET / HTTP/1.1" 200 527 0.1975
127.0.0.1 - - [29/May/2018:20:48:29 +0000] "GET /robots.txt HTTP/1.1" 200 13 0.0004
127.0.0.1 - - [29/May/2018:20:48:30 +0000] "GET / HTTP/1.1" 200 527 0.6007
127.0.0.1 - - [29/May/2018:20:48:31 +0000] "GET /map.html HTTP/1.1" 200 5806 0.0005
127.0.0.1 - - [29/May/2018:20:48:32 +0000] "GET /remotes HTTP/1.1" 200 267 0.0009
127.0.0.1 - - [29/May/2018:20:48:33 +0000] "GET /this-is-absent HTTP/1.1" 404 14 0.0004
127.0.0.1 - - [29/May/2018:20:48:34 +0000] "GET /wallet/ffffeeeeddddcccc HTTP/1.1" 404 14 0.0005
\u001b[32m.\u001b[0mTotal score for da1368db7d40ffa7 is 0
\u001b[32m.\u001b[0m

Finished in 30.050723s, 2.4958 runs/s, 7.4873 assertions/s.

75 runs, 225 assertions, 1 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1)
/usr/local/rvm/gems/ruby-2.3.3/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
/usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => default => test
(See full trace by running task with --trace)
container 9ec752b3bbac3ac4ddbf72a6b82fb018287a81386b36a9eb41396bf45ad5e77c is dead
Tue May 29 22:50:26 CEST 2018

yegor256 added a commit that referenced this issue May 29, 2018
@yegor256
Copy link
Collaborator Author

@rultor release, tag is 0.10.8

@rultor
Copy link
Collaborator

rultor commented May 29, 2018

@rultor release, tag is 0.10.8

@yegor256 OK, I will release it now. Please check the progress here

@rultor
Copy link
Collaborator

rultor commented May 29, 2018

@rultor release, tag is 0.10.8

@yegor256 Done! FYI, the full log is here (took me 5min)

@0crat
Copy link
Collaborator

0crat commented May 29, 2018

The job is not in WBS, won't close the order

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants