File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " iknow-entity-browser" ,
3- "version" : " 1.1.1 " ,
3+ "version" : " 1.1.2 " ,
44 "description" : " Visualizer for iKnow entities" ,
55 "main" : " gulpfile.babel.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -113,6 +113,13 @@ XData UrlMap [ XMLNamespace = "http://www.intersystems.com/urlmap" ]
113113</Routes >
114114}
115115
116+ /// Extend the timeout for the long queries up to 2 hours
117+ ClassMethod OnPreDispatch (pUrl As %String , pMethod As %String , ByRef pContinue As %Boolean ) As %Status
118+ {
119+ set %response .Timeout = 60 * 60 * 2 // 2 hours at max
120+ return ##class (%iKnow.REST.Base ).OnPreDispatch (pUrl , pMethod , pContinue )
121+ }
122+
116123/// <example language="swagger">
117124/// summary: |
118125/// Retrieves the graph representation of all entities similar to a seed string
You can’t perform that action at this time.
0 commit comments