(ctx Context)
| 721 | } |
| 722 | |
| 723 | func DefaultTimeoutHookHandler(ctx Context) { |
| 724 | realDration := ctx.Items().GetTimeDuration(ItemKeyHandleDuration) |
| 725 | logs := fmt.Sprintf("req %v, cost %v", ctx.Request().Url(), realDration.Seconds()) |
| 726 | ctx.HttpServer().DotApp.Logger().Warn(logs, LogTarget_RequestTimeout) |
| 727 | } |
nothing calls this directly
no test coverage detected