1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00

Remove inaccurate TODO.

This commit is contained in:
Patrick Thomson 2018-10-23 11:25:55 -04:00
parent d8a7b2edfb
commit be9ffa49d3

View File

@ -257,7 +257,6 @@ runParser blob@Blob{..} parser = case parser of
writeLog Error "failed parsing" (("task", "parse") : blobFields) writeLog Error "failed parsing" (("task", "parse") : blobFields)
throwError (toException err) throwError (toException err)
-- TODO: Could give assignment a dedicated config for it's timeout.
res <- timeout (configAssignmentTimeout config) . time "parse.assign" languageTag $ res <- timeout (configAssignmentTimeout config) . time "parse.assign" languageTag $
case assign blobSource assignment ast of case assign blobSource assignment ast of
Left err -> do Left err -> do