Base per-incoming queue limit on per-Face limit (instead of a precompiled value)
diff --git a/utils/ndn-pit-queue.cc b/utils/ndn-pit-queue.cc
index f8feb72..75ce818 100644
--- a/utils/ndn-pit-queue.cc
+++ b/utils/ndn-pit-queue.cc
@@ -35,22 +35,22 @@
 namespace ndn {
 
 PitQueue::PitQueue ()
-  : m_maxQueueSize (20)
-  , m_lastQueue (m_queues.end ())
+  // : m_maxQueueSize (20)
+  : m_lastQueue (m_queues.end ())
 {
 }
   
-void
-PitQueue::SetMaxQueueSize (uint32_t size)
-{
-  m_maxQueueSize = size;
-}
+// void
+// PitQueue::SetMaxQueueSize (uint32_t size)
+// {
+//   m_maxQueueSize = size;
+// }
 
-uint32_t
-PitQueue::GetMaxQueueSize () const
-{
-  return m_maxQueueSize;
-}
+// uint32_t
+// PitQueue::GetMaxQueueSize () const
+// {
+//   return m_maxQueueSize;
+// }
 
 
 bool
@@ -67,7 +67,7 @@
       queue = itemPair.first;
     }
   
-  if (queue->second->size () >= m_maxQueueSize)
+  if (queue->second->size () >= inFace->GetLimits ().GetMaxLimit ())
       return false;
 
   Queue::iterator itemIterator = queue->second->insert (queue->second->end (), pitEntry);
diff --git a/utils/ndn-pit-queue.h b/utils/ndn-pit-queue.h
index aad6820..993cb83 100644
--- a/utils/ndn-pit-queue.h
+++ b/utils/ndn-pit-queue.h
@@ -109,7 +109,7 @@
   typedef std::map< Ptr<Face>, boost::shared_ptr<Queue> > PerInFaceQueue;
 
 private:
-  uint32_t m_maxQueueSize;
+  // uint32_t m_maxQueueSize;
   PerInFaceQueue::iterator m_lastQueue; // last queue from which interest was taken
   PerInFaceQueue m_queues;
 };