← 输入框|github.com|刷新
Skip to content

Allow for execution on Windows, although this breaks time-out handling. - #21

Closed
southernsun wants to merge 1 commit into
HDE:masterfrom
southernsun:patch-1
Closed

southernsun wants to merge 1 commit into
HDE:masterfrom
southernsun:patch-1

Conversation

@southernsun

Copy link
Copy Markdown

by checking if SIGALRM exists we can determine if it is either running on UNIX or Windows. If it is running on Windows, ignore the timeout feature and just continue.

by checking if SIGALRM exists we can determine if it is either running on UNIX or Windows. If it is running on Windows, ignore the timeout feature and just continue.
@freedomofkeima

Copy link
Copy Markdown
Collaborator

Hi, thank you for your contribution.

Since AWS Lambda itself runs under Linux environment (See http://docs.aws.amazon.com/lambda/latest/dg/current-supported-versions.html), I guess it's better to output a warning if it is executed in Windows environment, so that users understand Timeout feature will not work. Even better, could you also update README file to include what kind of limitation is expected if python-lambda-local is used in Windows environment?

@vagos77

vagos77 commented Aug 30, 2018

Copy link
Copy Markdown

Hi,

Can you please merge this PR? It took us quite some time to figure out what was going on and get to this post. It would be nice if Windows users dont have to manually edit the source code in order to fix this problem.

Thanks

@yxd-hde

yxd-hde commented Sep 3, 2018

Copy link
Copy Markdown
Contributor

See: #32

@freedomofkeima

Copy link
Copy Markdown
Collaborator

Implemented in #32, released via version 0.1.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants