Skip to content

Commit b59c2a8

Browse files
authored
change order the agent is loaded by the wrapper (#380)
1 parent 0198293 commit b59c2a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/newrelic_lambda_wrapper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ def self.require_source_file(path)
117117

118118
# warm the memoization cache so that the very first customer method invocation
119119
# isn't made to wait
120-
NewRelicLambdaWrapper.require_ruby_agent
121120
NewRelicLambdaWrapper.method_name_and_namespace
121+
NewRelicLambdaWrapper.require_ruby_agent
122122

123123
def handler(event:, context:)
124124
method_name, namespace = NewRelicLambdaWrapper.method_name_and_namespace

0 commit comments

Comments
 (0)