Memory driver now limits by size

This commit is contained in:
Frederick F. Kautz IV
2015-04-22 17:50:26 -07:00
parent 276c02af62
commit c56f7380d6
2 changed files with 35 additions and 14 deletions

View File

@@ -134,7 +134,7 @@ func getDriverChannels(driverType DriverType) (ctrlChans []chan<- string, status
switch {
case driverType == Memory:
{
ctrlChan, statusChan, driver = memory.Start(1000)
ctrlChan, statusChan, driver = memory.Start(1024 * 1024 * 1024)
ctrlChans = append(ctrlChans, ctrlChan)
statusChans = append(statusChans, statusChan)
}