Commit a8992a1
committed
Include separator in directory expansion check
The intent of this function is to expand include_paths to individual
files and add each as a unit of work to the forking server. This gives
the maximum amount of concurrency given the server's configuration.
The check to see if the include_path was a directory prepended "/code",
but without a separator. For example, "/coodapp/lib/" instead of
"/code/app/lib". The check would return false and the entire directory
would be added as a single unit of work. This meant we achieved almost
no concurrency and customer's with large repositories would time out.1 parent b2e6fd7 commit a8992a1
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments