licheng

Results 7 comments of licheng

The way i get AWS client: ``` class AwsClient(object): def __init__(self, region='eu-central-1', server_name='ec2'): self.region = region self.server_name = server_name @property def client(self): return boto3.client(self.server_name, region_name=self.region, aws_access_key_id=ACCESS, aws_secret_access_key=SECRET) ``` I used...

Thanks for reply. I use boto3.client() to get an instance and make requests. And there is one process in my program, but with multy `Coroutine` rather than multy thread. So...

And only when there is throwning lots of exception the memory will increase, otherwise won't.

here is my test code: ``` from memory_profiler import profile from eventlet.greenpool import GreenPool from instance import InstanceResource manager = InstanceResource() #@profile def get_data(): try: instances = manager.list_resource() except Exception...

I would like to ask if you have a situation where the network environment is not very good and sometimes throws an exception when you reproduce it. Because at that...

I have re-evaluated the issue and found that it is not related to the debug parameters. I can still see the function names using cargo build --release. However, when I...

感谢!