Updates to version 5.0.0-SNAPSHOT
Changes for Framework 7
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<parent>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-function-adapter-parent</artifactId>
|
||||
<version>4.3.1-SNAPSHOT</version>
|
||||
<version>5.0.0-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<properties>
|
||||
|
||||
@@ -179,7 +179,7 @@ public final class CustomRuntimeEventLoop implements SmartLifecycle {
|
||||
@Override
|
||||
public int getRemainingTimeInMillis() {
|
||||
long now = System.currentTimeMillis();
|
||||
if (!headers.containsKey("Lambda-Runtime-Deadline-Ms")) {
|
||||
if (!headers.containsHeader("Lambda-Runtime-Deadline-Ms")) {
|
||||
return 0;
|
||||
}
|
||||
int delta = (int) (Long.parseLong(headers.getFirst("Lambda-Runtime-Deadline-Ms")) - now);
|
||||
|
||||
Reference in New Issue
Block a user