Changeset 1619

Show
Ignore:
Timestamp:
06/11/08 11:51:16 (7 months ago)
Author:
dbryson
Message:

Removed calls to bee job. No longer needed

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • hive/trunk/data_webapp/app/controllers/hc_database_controller.rb

    r1617 r1619  
    140140    hid = client.host_id 
    141141 
    142     bee_work = {"cid" => client.cid, "urls" => []} 
     142    #bee_work = {"cid" => client.cid, "urls" => []} 
    143143 
    144144    # Insert all visited and timed out URLs into the history. 
     
    159159          # Prevent duplication of history items due to possible flawed logic on (RPC) client side. 
    160160          if not HistoryUrl.exists?(url_obj)  
    161             bee_work["urls"] << url_obj 
     161            #bee_work["urls"] << url_obj 
    162162 
    163163            # Insert the HistoryUrl and retrieve the corresponding inserted object. 
     
    203203 
    204204    # Stores data for Job 
    205     BeeJob.add_job("history_urls",bee_work) 
     205    #BeeJob.add_job("history_urls",bee_work) 
    206206         
    207207    # Return the number of URLs that were successfully inserted into the history. 
     
    214214 
    215215    # I need to make a deep copy of the Hash so not to alter it 
    216     job_copy = Marshal.dump(obj_hash) 
     216    #job_copy = Marshal.dump(obj_hash) 
    217217     
    218218    # Remove compromise time from fingerprint and use to update related client object 
     
    222222     
    223223    # Stores data for Job 
    224     BeeJob.add_job("fingerprint",Marshal.load(job_copy),client.cid) 
     224    #BeeJob.add_job("fingerprint",Marshal.load(job_copy),client.cid) 
    225225     
    226226    insert(Fingerprint,obj_hash) 
     
    231231     
    232232    # This needs to be BEFORE the insert 
    233     BeeJob.add_job("client",obj_hash) 
     233    #BeeJob.add_job("client",obj_hash) 
    234234     
    235235    insert(Client,obj_hash) 
     
    240240     
    241241    # This needs to be BEFORE the insert 
    242     BeeJob.add_job("host",obj_hash) 
     242    #BeeJob.add_job("host",obj_hash) 
    243243     
    244244    insert(Host,obj_hash)