Skip to content

Commit 2ac7972

Browse files
committed
Add debug for timeout
1 parent 3f307af commit 2ac7972

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

lib/interscript-api/graphql/types/query_type.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,15 @@ def transliterate(system_code:, input:)
3737
raise StandardError.new("{input} string too long")
3838
end
3939

40-
Interscript.transliterate(
40+
puts "123 2"
41+
rs = Interscript.transliterate(
4142
system_code,
4243
input.dup,
4344
@cache ||= {},
4445
compiler: Interscript::Compiler::Ruby
4546
)
47+
puts "123 3"
48+
rs
4649
end
4750

4851
field :detect, [DetectionResultType], null: true do

lib/interscript-api/lambda_function.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def handler(event:, context: {})
4646
#ignore
4747
end
4848

49+
puts "123 1"
4950
{
5051
statusCode: status_code,
5152
headers: headers,

0 commit comments

Comments
 (0)