Skip to content

Hi,I try pool demo,it doesn't run. #13

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

Closed
woshihaoren opened this issue Aug 7, 2015 · 4 comments
Closed

Hi,I try pool demo,it doesn't run. #13

woshihaoren opened this issue Aug 7, 2015 · 4 comments

Comments

@woshihaoren
Copy link

centos7.1
python2.7.5

it‘s block,and doesn't run print(n, cur.fetchall()).

[root@localhost Ease]# python t1.py
0 sleeping 1 seconds
1 sleeping 1 seconds
2 sleeping 1 seconds
3 sleeping 1 seconds
4 sleeping 1 seconds
5 sleeping 1 seconds
6 sleeping 1 seconds
7 sleeping 1 seconds
8 sleeping 1 seconds
9 sleeping 1 seconds

@woshihaoren woshihaoren changed the title hi,my pool demo doesn't run. Hi,I try pool demo,it doesn't run. Aug 8, 2015
@wikimore
Copy link

hi,woshihaoren:
this maybe a bug, because the default max_open_connections is 0, you can set the value of max_open_connections to any value bigger than 0,then it will work.

@woshihaoren
Copy link
Author

Yeah, you are right. it's OK

@shuax
Copy link

shuax commented Sep 18, 2015

I also have the same problem.This example is too strange.

@methane
Copy link
Member

methane commented Sep 18, 2015

This is not a problem of example.
See #7.

@methane methane closed this as completed Sep 18, 2015
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

4 participants