Correct, basic only controls throughput and max workers.

The lucensing generator always generates max for the worker thread settings

Sent from my iPhone

> On 10 nov 2013, at 00:43, Simon Cropp <notifications@github.com> wrote:
> 
> In src/NServiceBus.Core/Licensing/LicenseDeserializer.cs:
> 
> > +
> > +            var licenseVersion = doc.SelectSingleNode("/license/@LicenseVersion");
> > +            license.LicenseVersion = licenseVersion.Value;
> > +
> > +            var maxMessageThroughputPerSecond = doc.SelectSingleNode("/license/@MaxMessageThroughputPerSecond").Value;
> > +            if (maxMessageThroughputPerSecond == "Max")
> > +            {
> > +                license.MaxThroughputPerSecond = MaxThroughputPerSecond;
> > +            }
> > +            else
> > +            {
> > +                license.MaxThroughputPerSecond = int.Parse(maxMessageThroughputPerSecond);
> > +            }
> > +
> > +            var workerThreads = doc.SelectSingleNode("/license/@WorkerThreads").Value;
> > +            //TODO: if null should this be 1?
> are you saying "delete all licensing code that relates to AllowedNumberOfThreads"?
> 
> because that is not how the current codebase works.
> 
> Note that in basic mode the licensing restricts the user to 1 thread
> 
> https://github.com/Particular/NServiceBus/blob/develop/src/NServiceBus.Core/Licensing/LicenseManager.cs#L480
> 
> —
> Reply to this email directly or view it on GitHub.