crits/crits — pull request #198 by sabade (2014-08-14 23:15:36+00:00)
Title: Fix for source over addition

calling obj.add_source causes the self.source dictionary to increase exponentially.. This in turn affects each embedded document that is being added. When there are more than a few indicators being added, this increase eventually causes the mongo engine to not be able to store the data in the database, and eventually hang. This change works for both uploads from the UI and File type uploads from the API.